Thursday, August 09, 2012

Extension method must be defined in a non-generic static class

Extension methods (with this keyword in the first parameter), should be containing only within the class is Non Generic and Static.

Containing class

Should Not be generic class

Should be defined as static

No comments:

Post a Comment