public static Toy CreateToy(global::System.Int32 id, global::System.String name, global::System.Int32 minAge) { Toy toy = new Toy(); toy.Id = id; toy.Name = name; toy.MinAge = minAge; return toy; }