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

Test Sharp (Before begin, After end)

Inserendo del codice solo nei posti marcati dai due commenti, il seguente snippet:

using System;
 
class Foo
{
      //
      static void Main()
      {
            Console.WriteLine("Begin");
            //
            Console.WriteLine("End");
      }
}

deve stampare a console:

Before begin
Begin
End
After end

Se vi pare troppo semplice, provate a trovare 2 soluzioni differenti (esistono!).

Print | posted on venerdì 15 luglio 2005 19:30 | Filed Under [ Test Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET