Introduzione a .NET / Mono
12
-
Upload
lck84 -
Category
Technology
-
view
1.247 -
download
3
description
Una breve introduzione a .NET, la compilazione a codice intermedio CIL e l'esecuzione virtuale.
Transcript of Introduzione a .NET / Mono
bool IsAnswer(Random gen) {
int number = gen.Next();
return (number == 42);
}
.method private boolIsAnswer(class System.Random gen)
{.maxstack 2.locals init ([0] int32 number)ldarg.0callvirt instanceint32 System.Random::Next()
stloc.0ldloc.0ldc.i4.s 0x2aceqret
}
bool IsAnswer(Random gen) {int number = gen.Next();return (number == 42);
}
object
Exception
structint
doubledecimal
classobjectstringarray