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 #48

using System;
using System.Diagnostics;

class Foo
{
  [Conditional("X")]
  static void Main()
  {
    Main();
    Console.WriteLine("Ciao!");
  }
}

Vi aspettate:

  • A. stampa Ciao! a console
  • B. non stampa niente
  • C. errore StackOverflowException a runtime

Le vostre risposte con le dovute spiegazioni lasciatele nei commenti, fino a mercoledì sera.

Print | posted on martedì 5 aprile 2005 02:56 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET