how to declare an object in c sharp code example Example: c# create new object Car mycar = new Car();