Content deleted Content added
it's not a runtime feature, it's a compile time feature to support calling static methods with infix syntax |
link to utility class |
||
Line 11:
As an example, consider a need of extending the string class with a new reverse method whose return value is a string with the characters in reversed order. Because the string class is a primitive type, the method would typically be added to a new [[utility class]] in a manner similar to the following:
<source lang="csharp">
string x = "some string value";
|