Click here to Skip to main content
15,915,719 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 3:35
mvahoney the codewitch31-Jul-19 3:35 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:05
Super Lloyd31-Jul-19 5:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:11
mvahoney the codewitch31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:12
Super Lloyd31-Jul-19 5:12 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:14
mvahoney the codewitch31-Jul-19 5:14 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:15
Super Lloyd31-Jul-19 5:15 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:19
mvahoney the codewitch31-Jul-19 5:19 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:50
Super Lloyd31-Jul-19 5:50 
Generic Do<T>() method's IL:
.method public hidebysig instance void  Do(!T 'value') cil managed
{
  // Code size       58 (0x3a)
  .maxstack  2
  .locals init ([0] int32 intV,
           [1] bool V_1)
  IL_0000:  nop
  IL_0001:  ldarg.1
  IL_0002:  box        !T
  IL_0007:  isinst     [mscorlib]System.Int32
  IL_000c:  brfalse.s  IL_0022
  IL_000e:  ldarg.1
  IL_000f:  box        !T
  IL_0014:  isinst     [mscorlib]System.Int32
  IL_0019:  unbox.any  [mscorlib]System.Int32
  IL_001e:  stloc.0
  IL_001f:  ldc.i4.1
  IL_0020:  br.s       IL_0023
  IL_0022:  ldc.i4.0
  IL_0023:  stloc.1
  IL_0024:  ldloc.1
  IL_0025:  brfalse.s  IL_0031
  IL_0027:  ldarg.0
  IL_0028:  ldloc.0
  IL_0029:  call       instance void class ConsoleApp1.A`1<!T>::Do(int32)
  IL_002e:  nop
  IL_002f:  br.s       IL_0039
  IL_0031:  ldarg.0
  IL_0032:  ldarg.1
  IL_0033:  call       instance void class ConsoleApp1.A`1<!T>::DoDefault(!0)
  IL_0038:  nop
  IL_0039:  ret
} // end of method A`1::Do
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:53
mvahoney the codewitch31-Jul-19 5:53 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:56
mvahoney the codewitch31-Jul-19 5:56 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 6:01
Super Lloyd31-Jul-19 6:01 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:05
mvahoney the codewitch31-Jul-19 6:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:11
mvahoney the codewitch31-Jul-19 6:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:27
mvahoney the codewitch31-Jul-19 5:27 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:51
Super Lloyd31-Jul-19 5:51 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:11
Super Lloyd31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:13
mvahoney the codewitch31-Jul-19 5:13 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 2:20
mvahoney the codewitch31-Jul-19 2:20 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 19:42
Super Lloyd30-Jul-19 19:42 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:27
mvahoney the codewitch31-Jul-19 1:27 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 1:41
Super Lloyd31-Jul-19 1:41 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:42
mvahoney the codewitch31-Jul-19 1:42 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:44
mvahoney the codewitch31-Jul-19 1:44 
GeneralRe: i don't like object oriented programming Pin
Dannyyx30-Jul-19 20:21
Dannyyx30-Jul-19 20:21 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:28
mvahoney the codewitch31-Jul-19 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.