public Form1() { InitializeComponent(); textBox1.Text = "Ticks:" + DateTime.Now.Ticks.ToString(); var h = new Hellower1(); ((Hellower1)h).HalloMethod = "Hallo Welt"; var result = TestDateTime(DateTime.Now); TestInt(19); TestFloat(float.MaxValue); TestDouble(double.MaxValue); p.DoB = DateTime.Now; p.Name = "Ralf Hientzsch-Schindlmeier"; p.Id = 1; p = TestClass(p); point = TestPoint(); TestString("Ralf"); TestBoxedInt(6); TestBoxedDateTime(DateTime.Now); TestObjectPerson(p); }
private Persion TestClass(Persion p) { Console.WriteLine(p); return(new Persion()); }
private object TestObjectPerson(Persion persion) { return(persion); }