Nischal: If the method is static then you don't need to instantiate the class to use it.
Federico Raggi Latam Developers Initiative Manager Microsoft Phone: (954)489-4862 Mobile: (954)465-4862 > -----Original Message----- > From: Nischal Chitta [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 3:15 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] Invoke Static method on a class using Reflection?? > > Hi All > > Can someone help me in invoking a static method of my class using > reflection? > > I have a class A, which has a static method M1(). I want to invoke this > method at runtime without instantiating the class using Reflection. How > can > I do it?? > > Pointer to any resource also will be really appreciated. > > Thanks > Nischal > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.