Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

Quiz Sharp 3

using System;
enum Bar
{
  Baz
}
class Foo
{
  static void Main()
  {
    Bar b1 = (Bar)1;
    Bar b2 = 0;
    Console.WriteLine("{0} {1}", b1, b2);
    Console.ReadLine();
  }
}

Vi aspettate:

  • A. 1 0
  • B. errore
  • C. 1 Baz

Qui un po' di storia su Foo, Bar, Baz, Qux, Quux, Quuux, Quuuux, etc. :-)

Print | posted on mercoledì 19 maggio 2004 01:39 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET