text: public Record FindFirstRecordBySid(short sid){for (IEnumerator iterator = records.GetEnumerator(); iterator.MoveNext(); ){Record record = (Record)iterator.Current;if (record.Sid == sid){return record;}}return null;}