Adam Soap

Adam Soap

  • NA
  • 3
  • 1.5k

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

Dec 8 2010 3:43 PM

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)