purpose of using ,,,,(static)--> Data members? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

purpose of using ,,,,(static)--> Data members?

I always confuse, while I using Static in programming,,can anyone tell me in plz tell me in easy wording.....?

8th Dec 2021, 1:43 PM
Danish Mehmood
Danish Mehmood - avatar
1 Answer
+ 2
In C#, static means something which cannot be instantiated. You cannot create an object of a static class and cannot access static members using an object.
8th Dec 2021, 2:48 PM
hossein B
hossein B - avatar