[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]cscc/ecma c# question - 2
From: |
Ravi Mishra |
Subject: |
[DotGNU]cscc/ecma c# question - 2 |
Date: |
21 Oct 2002 16:46:51 -0700 |
Hi,
Can any body please tell me why
int i = 5;
Console.WriteLine("{0}, {1}, {2}", i, i, i);
outputs
5, 5, 5
where as
int i = 5;
Console.WriteLine("{0}, {1}, {2}, {3}", i, i, i, i);
gives
"Uncaught exception: System.Security.VerificationException: Could not
verify the code" error
I am trying to execute code snippets from C# ECMA spec. Please let me
know if it's okay to post such problems. If needed, I am willing to run
it against cvs tree. Currently I am using pnet-0.3.2
Thanks,
Ravi
----
- [DotGNU]cscc/ecma c# question - 2,
Ravi Mishra <=