purpose of using ,,,,(static)--> Data members? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 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