As we understand that when we create extension method on any type, we create it as static method. But, class containing this extension method is also needs to be static, otherwise we get compile time error. I didn't get proper answer for this why this class should be static in this case? Can someone please answer this?
Why class containing extension method needs to be static ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Khaja MoizuddinRank #270 · 9.4K reputationPosted Apr 12, 2017, 7:50 AM EDT
Kg P9 reputationPosted Apr 12, 2017, 8:56 AM EDT