public Present GetPresentWithLeastMagic() { Present present = this.presents.OrderBy(p => p.Magic).First(); return(present); }
public Present GetPresent(string name) { Present present = this.presents.FirstOrDefault(p => p.Name == name); return(present); }
public bool Remove(Present present) { return(this.presents.Remove(present)); }