All These Things That I've Done

Apply the programming model to everyday programming problems
posts - 83, comments - 71, trackbacks - 4

My Links

News


View Gianluca Carucci's profile on LinkedIn

Tag Cloud

Archives

Post Categories

Image Galleries

Blogs

Links

Quiz Sharp 10 (contribuisco alla saga di Adrian....)

Mi inserisco nella simpaticissima saga di Adrian dando il mio piccolo contributo....:)

using System;
static void Main(string[] args)
{
  Foo.Test();
  Console.Read();
}

public static void Test()
{
  try
  {
    Console.WriteLine("Step Try");
    return;
  }
  finally
  {
    Console.WriteLine("Step Finally");
   }
   Console.WriteLine("Step Exit");
   return;
}

Cosa viene visualizzato a console?

A)

Step Try

B)

Step Try

Step Finally

C)

Step Try

Step Finally

Step Exit

 

Gianluca

Print | posted on giovedì 27 maggio 2004 19:09 | Filed Under [ C# ]

Powered by:
Powered By Subtext Powered By ASP.NET