¡@

Home 

c# Programming Glossary: il_0009

Performance difference for control structures 'for' and 'foreach' in C#

http://stackoverflow.com/questions/1124753/performance-difference-for-control-structures-for-and-foreach-in-c-sharp

GetEnumerator IL_0006 stloc.1 .try IL_0007 br.s IL_0017 IL_0009 ldloca.s V_1 IL_000b call instance 0 valuetype mscorlib System.Collections.Generic.List`1.. Enumerator object MoveNext IL_001e brtrue.s IL_0009 IL_0020 leave.s IL_0030 end .try finally IL_0022 ldloca.s V_1.. IL_0014 IL_0006 ldloc.1 IL_0007 ldloc.2 IL_0008 ldelem.ref IL_0009 stloc.0 IL_000a ldloc.0 IL_000b call void mscorlib System.Console..

Why Enum's HasFlag method need boxing?

http://stackoverflow.com/questions/11665279/why-enums-hasflag-method-need-boxing

IL_0003 ldloc.0 IL_0004 box ConsoleApplication1.Fruit IL_0009 ldc.i4.0 IL_000a box ConsoleApplication1.Fruit IL_000f call.. stloc.0 IL_0003 ldloc.0 IL_0004 box mscorlib System.Int32 IL_0009 stloc.1 IL_000a call string mscorlib System.Console ReadLine..

Object reference not set to an instance of an object.Why doesn't .NET show which object is `null`?

http://stackoverflow.com/questions/14787580/object-reference-not-set-to-an-instance-of-an-object-why-doesnt-net-show-which

ldloc.0 s IL_0004 callvirt System.String.get_Length IL_0009 call System.Console.WriteLine It is the callvirt opcode that..

Scope of variables in C#

http://stackoverflow.com/questions/3979493/scope-of-variables-in-c-sharp

IL_000c IL_0006 ldc.i4.2 IL_0007 stloc.1 IL_0008 ldloc.0 IL_0009 ldloc.1 IL_000a add IL_000b stloc.0 IL_000c ldc.i4.s 10 IL_000e..

What is differences between Multidimensional array and Array of Arrays in C#?

http://stackoverflow.com/questions/597720/what-is-differences-between-multidimensional-array-and-array-of-arrays-in-c

instance void int32 0... 0... Set int32 int32 int32 IL_0009 ret end of method Program SetElementAt When using jagged arrays..

VB.NET vs C# integer division [duplicate]

http://stackoverflow.com/questions/6013626/vb-net-vs-c-sharp-integer-division

stloc.0 IL_0006 ldloc.1 IL_0007 conv.r8 IL_0008 ldloc.0 IL_0009 conv.r8 IL_000A div IL_000B call System.Math.Round IL_0010 conv.ovf.i4.. stloc.1 IL_0006 ldloc.0 IL_0007 ldloc.1 IL_0008 div IL_0009 stloc.2 IL_000A ldloc.2 IL_000B call System.Console.WriteLine..

Why GetType returns System.Int32 instead of Nullable<Int32>?

http://stackoverflow.com/questions/6931783/why-gettype-returns-system-int32-instead-of-nullableint32

..ctor Console.WriteLine x.GetType IL_0008 ldloc.0 IL_0009 box System.Nullable System.Int32 IL_000E callvirt System.Object.GetType..

I wrote a program that allow two classes to “fight”. For whatever reason C# always wins. What's wrong with VB.NET?

http://stackoverflow.com/questions/711586/i-wrote-a-program-that-allow-two-classes-to-fight-for-whatever-reason-c-sharp

base Player .ctor IL_0006 ldarg.0 IL_0007 ldc.i4.s 100 IL_0009 stfld int32 B desiredPower IL_000e ret end of method B .ctor..