I always thought this was just pretty funky:


namespace System
{
class Object
{
}
class A
{
public static void Main()
{
System.Console.WriteLine("Hola");
}
}
}

Hint: If you haven't cought it yet, compile, then check the resulting code with ILDASM.


Tomas Restrepo

Software developer located in Colombia. Sr. PFE at Microsoft.