----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SitaramanM Message 3 in Discussion Hi As a baseline, you can have a method as a member of the Class(type) or as global. Global functions are those functions which are not member of any specific class(type) as such. .Global functions is specific to VB/VB.net(dont think C# supports global functions, java likewise) Now the other type of function is those which are a part or member of a type. These functions are declared as part of a class and in turn can be accessed in two ways. A Shared(static in C#) function is basicallly a function which is declared as a member of a class and is associated to a type itself rather than a instance of that type. So, as puneet said, you do not need to create an instance to call this function. Shared/Static functions are CLS-Compliant An instance function is that function for which you need to create a instance of the type to call the function hth regards, sr ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_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]
