Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Literally nothing wrong with the compiler here...
Akkiraju Ivaturi
Sep 7 2012 11:23 PM
936
Reply
Should this code compile? Does it? What does it mean?
using
System;
class
Test
{
enum
Foo { Bar, Baz };
static
void
Main()
{
Foo f = 0.0;
Console.WriteLine(f);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Print, print, print...
Will this compile?