static void Main(string[] args) { Console.WriteLine("Hello World!"); Useful useful = new Useful(); Console.WriteLine(useful.GetExtension(10)); }
public static int GetExtension(this Useful useful, int num) { return(num); }