[Mono-list] Important difference with Microsoft compiler

Gustavo García Bernardo ggb@tid.es
Fri, 14 Mar 2003 09:52:13 +0100


Hi everybody,

	The next code doesn't compile with Microsoft compiler but compiles with
mono mcs:

class A
{
};
static void Main(string[] args)
{
for (int i=0;i<10;i++)
{
   A a = new A();
}

A a = new A();
}

I think the right operation is in mono. Is this documented?

G.