Tag Archives: value-type

Value type methods – call, callvirt, constrained and hidden boxing

Long time ago I wrote a post here on  call vs callvirt and the needed of the this null check. Here I want to wrote about this topic but on value types. Look on these three ToString() calls: Advertisements

Posted in .NET, c#, Roslyn | Tagged , , , , , , , | 4 Comments

One thing that you can do only with a reference type

What in your opinion possible to do only with reference type and no with value type without explicit boxing? What the fact of derived from object that give all reference type some ability that value types don’t have? You can … Continue reading

Posted in .NET | Tagged , , , , | Leave a comment