Can someone explain to me why in the following the 3rd invocation of DoSomething is invalid? ( Error message is \"The name \'DoSomething\' does not exist in the current cont
Extension methods can be invoked like other static methods.
Change it to A_Ext.DoSomething(this)
.
If you're asking why it isn't implicitly invoked on this
, the answer is that that's the way the spec was written. I would assume that the reason is that calling it without a qualifier would be too misleading.