public class AllMethods { public static void Method2() { // code here } } class Caller { public static void Main(string[] args) { AllMethods.Method2(); } }