I’ve come across several instances of C# code like the following:
public static int Foo(this MyClass arg)
I haven’t been able to find an explanation of what the this
keyword means in this case. Any insights?
I’ve come across several instances of C# code like the following:
public static int Foo(this MyClass arg)
I haven’t been able to find an explanation of what the this
keyword means in this case. Any insights?