how to initialize a class in c# code example Example: c# new object //Declaring a new object of type Galaxy. Galaxy aGalaxy = new Galaxy();