Glolita Glolita - 26 days ago 10
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

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?