¡@

Home 

c# Programming Glossary: mscorlib

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

private hidebysig static void IterateOverList class mscorlib System.Collections.Generic.List`1 object list cil managed Code.. size 49 0x31 .maxstack 1 .locals init object V_0 valuetype mscorlib System.Collections.Generic.List`1 Enumerator object V_1 IL_0000.. V_1 IL_0000 ldarg.0 IL_0001 callvirt instance valuetype mscorlib System.Collections.Generic.List`1 Enumerator 0 class mscorlib..

Does using “new” on a strict allocate it on the heap or stack?

http://stackoverflow.com/questions/203695/does-using-new-on-a-strict-allocate-it-on-the-heap-or-stack

nops .class public auto ansi beforefieldinit Test extends mscorlib System.Object Removed Test's constructor Main and MethodTakingGuid... .maxstack 8 L_0001 ldstr L_0006 newobj instance void mscorlib System.Guid .ctor string L_000b stsfld valuetype mscorlib System.Guid.. mscorlib System.Guid .ctor string L_000b stsfld valuetype mscorlib System.Guid Test field L_0010 ret .method private hidebysig..