----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: Shamant Message 2 in Discussion GetType() is a static method under Type class. Accessing any static member or method from outside the scope of the class needs to be done using FQN (Fully Qualified Name). If you require more details kindly refer to - http://msdn.microsoft.com/library/default.asp?url=/library/enus/csref/html/vclrfstaticpg.asp Example: class StatTest { public static int iTemp = 0; public static void CalculatePay() { ...........// } } To access the member variable or method from outside this class, the FQN needs to be used as - StatTest.iTemp; StatTest.CalculatePay(); If anyone feels this answer is incorrect , kindly let me know so that I can learn from it. Cheers! Thanks, Shamant. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
