Common Intermediate Language: Difference between revisions

Content deleted Content added
Creating objects: copy editing
Line 141:
 
====Invoking instance methods====
Instance methods are invoked likein C# as the one that follows:
<syntaxhighlight lang="csharp">
myCar.Move(3);
</syntaxhighlight>
 
InAs invoked in CIL:
<syntaxhighlight lang="csharp">
ldloc.0 // Load the object "myCar" on the stack