Exemple #1
0
        public static void Main(string[] args)
        {
            var l_c = new C1();

            l_c.Data = "Test";
            Console.ReadKey();
            Console.WriteLine(l_c.Data);
            Console.ReadKey();

            var l_c1 = l_c.Clone();

            l_c1.Data = "New Test";
            Console.WriteLine("original = {0}; coppied = {1}", l_c.Data, l_c1.Data);
            Console.ReadKey();
        }