static void Main(string[] args) { Demo dm = new Demo(); dm.Title = "Hello, World"; dm.Print(); Console.ReadLine(); }
public static void Print(this Demo d) { Console.WriteLine(d.Title); }
static void Main(string[] args) { Demo dm = new Demo(); dm.Title = "Hello, World"; dm.Print(); Console.ReadLine(); }
public static void Print(this Demo d) { Console.WriteLine(d.Title); }