Common Intermediate Language: Difference between revisions

Content deleted Content added
Monkbot (talk | contribs)
m Task 18 (cosmetic): eval 6 templates: hyphenate params (2×);
Object-oriented concepts: Corrected the name of the method
Line 69:
</syntaxhighlight>
 
The method FooAdd does not require any instance of Foo to be declared because it is declared as static, and it may then be used like this in C#:
<syntaxhighlight lang="csharp">
int r = Foo.Add(2, 3); // 5