public override string GetAttribute (int i) { if (i >= attr_count) throw new ArgumentOutOfRangeException (String.Format ("Specified attribute index is {0} and should be less than {1}", i, attr_count)); return attributes [i].Value; }