Can we define a Static function in a class with two other non-static?Is it necessary for every function to be static in static class?
Static function defined in a Class
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Fernando Soto44 reputationPosted Jun 15, 2008, 7:15 AM EDT
A class can have both static and non-static members in it. However static function/members can not make any reference to a non-static members of the class.
A static class must contain only static members / types.
Fernando