Akkiraju Ivaturi

Akkiraju Ivaturi

  • NA
  • 8.7k
  • 4.2m

Literally nothing wrong with the compiler here...

Sep 7 2012 11:23 PM

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);
}


Answers (3)