static void Main(string[] args) { var test = new cosothaplucphan(255); test.output(); Console.ReadLine(); }
static void Main(string[] args) { var x = new cosothaplucphan(); x.nhap(); x.Xuat(); var y = new cosothaplucphan(); y.nhap(); y.Xuat(); Console.ReadLine(); }
static void Main(string[] args) { cosothaplucphan a = new cosothaplucphan(); cosothaplucphan b = new cosothaplucphan(); cosothaplucphan c = new cosothaplucphan(); a.Xuat(a.Nhap()); Console.WriteLine("-------------------------------------------------------------------"); b.Xuat(b.Nhap()); Console.WriteLine("-------------------------------------------------------------------"); c = a + b; Console.ReadKey(); }