示例#1
0
        public void TestCoca()
        {
            Coca coca1 = new Coca();

            coca1.Name = "10076";

            Coca coca2 = coca1;

            coca2.Name = "yinxi";

            Console.WriteLine(coca1.Name);
        }
示例#2
0
 private void MakeCocaNull(Coca coca)
 {
     coca = null;
 }