¡@

Home 

c# Programming Glossary: il_0006

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

System.Collections.Generic.List`1 object GetEnumerator IL_0006 stloc.1 .try IL_0007 br.s IL_0017 IL_0009 ldloca.s V_1 IL_000b.. IL_0002 ldc.i4.0 IL_0003 stloc.2 IL_0004 br.s IL_0014 IL_0006 ldloc.1 IL_0007 ldloc.2 IL_0008 ldelem.ref IL_0009 stloc.0 IL_000a.. ldloc.1 IL_0016 ldlen IL_0017 conv.i4 IL_0018 blt.s IL_0006 IL_001a ret end of method Test IterateOverArray Interestingly..

Generate tail call opcode

http://stackoverflow.com/questions/15864670/generate-tail-call-opcode

IL_0003 add IL_0004 tail. Here is the 'tail' opcode IL_0006 callvirt instance 1 class FSharp.Core Microsoft.FSharp.Core.FSharpFunc`2..

Discrete Anonymous methods sharing a class?

http://stackoverflow.com/questions/3885106/discrete-anonymous-methods-sharing-a-class

void Program ' c__DisplayClass2' .ctor IL_0005 stloc.2 IL_0006 nop IL_0007 ldloc.2 IL_0008 ldc.i4 0xc350 IL_000d newarr mscorlib..

Scope of variables in C#

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

IL_0002 ldloc.0 IL_0003 ldc.i4.1 IL_0004 ble.s IL_000c IL_0006 ldc.i4.2 IL_0007 stloc.1 IL_0008 ldloc.0 IL_0009 ldloc.1 IL_000a..

Is there any performance difference between ++i and i++ in C#?

http://stackoverflow.com/questions/467322/is-there-any-performance-difference-between-i-and-i-in-c

loop IL_0002 ldc.i4.0 IL_0003 stloc.0 IL_0004 br.s IL_0010 IL_0006 ldloc.0 IL_0007 call void mscorlib System.Console WriteLine.. IL_0010 ldloc.0 IL_0011 ldc.i4 0x100000 IL_0016 blt.s IL_0006 Start of second loop IL_0018 ldc.i4.0 IL_0019 stloc.0 IL_001a..

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

IL_0003 ldarg.2 IL_0004 ldarg.3 IL_0005 stelem.i4 IL_0006 ret end of method Program SetElementAt .method private hidebysig..

VB.NET vs C# integer division [duplicate]

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

10 IL_0002 stloc.1 IL_0003 ldc.i4.s 0A IL_0005 stloc.0 IL_0006 ldloc.1 IL_0007 conv.r8 IL_0008 ldloc.0 IL_0009 conv.r8 IL_000A.. 10 IL_0002 stloc.0 IL_0003 ldc.i4.s 0A IL_0005 stloc.1 IL_0006 ldloc.0 IL_0007 ldloc.1 IL_0008 div IL_0009 stloc.2 IL_000A..

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

ldarg.0 IL_0001 call instance void base Player .ctor IL_0006 ldarg.0 IL_0007 ldc.i4.s 100 IL_0009 stfld int32 B desiredPower..

Why this compile error

http://stackoverflow.com/questions/8823427/why-this-compile-error

is exactly the same. IL_0000 ldstr C IL_0005 stloc.0 IL_0006 ldloc.0 IL_0007 call System.String.IsNullOrEmpty IL_000C brtrue.s..