public void Serialize(string fileName) { SerializeGear serialize = new SerializeGear { Gears = GearCollection.ToList() }; serialize.Save(fileName); }
public List <Gear> GetAllGears() { return(GearCollection.ToList()); }