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

Quale tra i seguenti due metodi ricorsivi riuscirà a fare più iterazioni e perché?

void Foo()
{
  System.Reflection.MethodBase.GetCurrentMethod().Invoke(this, null);
}

void Bar()
{
  Bar();
}

  • A. Foo;
  • B. Bar;
  • C. per Foo non otteniamo StackOverflowException.

Print | posted on mercoledì 4 maggio 2005 15:43 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET