public static Item GetItemById(int id) { return ItemList.Single(x => x.Id.Equals(id)); } public static Item GetItemByName(string name)