public void Remove(uint id) { Blueprint buf = Blueprints.Find(i => i.Id == id); if (buf == null) throw new KeyNotFoundException(); Blueprints.Remove(buf); FreeIDs.Add(id); }