using System;
namespace lesson_class and object practice
{ class Program { static void Main(string[] args) { Console.WriteLine("class and object practice"); #region practice 1 // carry out the following things Classification, repeatable //robot, machine, human, cat, Aunt Zhang, Pharaoh next door, car, airplane, sunflower, chrysanthemum, sun, star, lotus//machine: robot, machine, car, airplane//person : human , Aunt Zhang, Pharaoh next door //Animals: cats, people, Aunt Zhang, Pharaoh next door //Plants: sunflowers, chrysanthemums, lotus //Planets: sun, stars, #endregion #region Exercise 2 //GameObjectA = new GameObject(); //GameObjectB = A; //B = null;
//How much is A currently equal to?
//A is equal to the original GameObject();
#endregion
#region Exercise 3
//GameObject A= new GameObject();
//GameObject B= A;
//B = new GameObject();
//What is the relationship between A and B
#endregion
}
}
}