IvtLibrary.City.CreateCity C# (CSharp) Method

CreateCity() public static method

Create a new City object.
public static CreateCity ( global id, global name ) : City
id global Initial value of the id property.
name global Initial value of the name property.
return City
        public static City CreateCity(global::System.Int32 id, global::System.String name)
        {
            City city = new City();
            city.id = id;
            city.name = name;
            return city;
        }