3
Answers

What's the point of static members in a class?

Adam Soap

Adam Soap

13y
1.5k
1

Im a former C++ programmer looking in C# a bit, I'd just like to know, my 2 books (C++ - C#) are very different and explain both concepts Very differently. I just want to make sure Im on the right page. So static members are basically members (ex. static int numOfWheels = 4) that can be only accessed within the class itself, am I correct? Is there anythin else to them? Please try to explain as clearly as possible, thanks for your time :)
Answers (3)