public string getStringFromEnum(InventoryClass ic) { return(Enum.GetName(ic.GetType(), (object)ic)); }