// File Reflect2.cs --- call methods with particular names using System; // For Type using System.Reflection; // For MethodInfo class Reflect2 { public static void Main(String [] args) { Type ty = typeof(Reflect2); // Get Reflect2 class MethodInfo[] ms = ty.GetMethods(); // Get all methods Console.WriteLine("These static methods are available:"); for (int i=0; i