new {} object c# code example
Example 1: c# new list object
var intList = new List<int>();
Example 2: c# new object
//Declaring a new object of type Galaxy.
Galaxy aGalaxy = new Galaxy();
var intList = new List<int>();
//Declaring a new object of type Galaxy.
Galaxy aGalaxy = new Galaxy();