Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Will this compile?
Akkiraju Ivaturi
Sep 7 2012 11:24 PM
850
Reply
using
System;
class
Test
{
enum
Foo { Bar, Baz };
const
int
One = 1;
const
int
Une = 1;
static
void
Main()
{
Foo f = One-Une;
Console.WriteLine(f);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Literally nothing wrong with the compiler here...
Type inference a-go-go