public SubRecord[] GetSubRecords(string type) { return this.SubRecords.Where(x => x.Name == type).ToArray(); }