static variable and static function programs.
Alokkumar11 -3 Newbie Poster
Recommended Answers
Jump to PostSo, what do you wanna know?
A field declared with the static modifier is called a static variable.
Static variables - if they are marked as public they are accessed without a class reference.
For intance:class class1 { public static string myVar = "abc"; } class …
Jump to PostI can't believe someone replied to the OP. That's probably the worst post I've ever seen on Daniweb.
All 6 Replies
Mitja Bonca 557 Nearly a Posting Maven
Alokkumar11 -3 Newbie Poster
Momerath 1,327 Nearly a Senior Poster Featured Poster
Alokkumar11 -3 Newbie Poster
Mitja Bonca 557 Nearly a Posting Maven
skatamatic 371 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.