¡@

Home 

c# Programming Glossary: ldc.i4.s

Is the conditional operator slow?

http://stackoverflow.com/questions/2259741/is-the-conditional-operator-slow

ldarg.2 L_0168 brfalse.s L_0170 L_016a ldarg.1 L_016b ldc.i4.s 0x42 L_016d stind.i2 L_016e br.s L_0174 L_0170 ldarg.1 L_0171.. L_016d stind.i2 L_016e br.s L_0174 L_0170 ldarg.1 L_0171 ldc.i4.s 0x62 L_0173 stind.i2 L_0174 ldc.i4.1 L_0175 ret 2 The Conditional.. ldarg.1 L_0166 ldarg.2 L_0167 brtrue.s L_016d L_0169 ldc.i4.s 0x62 L_016b br.s L_016f L_016d ldc.i4.s 0x42 L_016f stind.i2..

How to pass a single object[] to a params object[]

http://stackoverflow.com/questions/36350/how-to-pass-a-single-object-to-a-params-object

Scope of variables in C#

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

IL_0009 ldloc.1 IL_000a add IL_000b stloc.0 IL_000c ldc.i4.s 10 IL_000e stloc.2 IL_000f ldloc.0 IL_0010 ldloc.2 IL_0011 add..

Where and why use int a=new int?

http://stackoverflow.com/questions/5746873/where-and-why-use-int-a-new-int

IL_0002 stloc.0 IL_0003 ldc.i4.0 IL_0004 stloc.1 IL_0005 ldc.i4.s 100 IL_0007 stloc.2 IL_0008 call int32 mscorlib System.Console..

VB.NET vs C# integer division [duplicate]

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

stored in y. C# does none of that. VB.NET IL Code IL_0000 ldc.i4.s 10 IL_0002 stloc.1 IL_0003 ldc.i4.s 0A IL_0005 stloc.0 IL_0006.. VB.NET IL Code IL_0000 ldc.i4.s 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_0013 call System.Console.WriteLine C# IL Code IL_0000 ldc.i4.s 10 IL_0002 stloc.0 IL_0003 ldc.i4.s 0A IL_0005 stloc.1 IL_0006..

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

instance void 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..

Is it better to declare a variable inside or outside a loop?

http://stackoverflow.com/questions/8535846/is-it-better-to-declare-a-variable-inside-or-outside-a-loop

int32 enumerator L_0000 ldc.i4.0 L_0001 ldc.i4.s 10 L_0003 call class mscorlib System.Collections.Generic.IEnumerable`1.. int32 enumerator L_0000 ldc.i4.0 L_0001 ldc.i4.s 10 L_0003 call class mscorlib System.Collections.Generic.IEnumerable`1..