Glolita Glolita - 1 year ago 65
C# Question

Can I have a non-static data member in a static class?

I want to know if in a static class, all the methods and data member should be static or can I find a non static members?

Answer Source

All members are static. Of course they are, because if you can't instantiate an object from that class, why would there be any non-static members?