private IList GetUnrelatedData() { DescriptionPair[] pairs = new DescriptionPair[10]; for (int i = 0; i < 10; i++) { pairs[i] = new DescriptionPair(i, new Description("This is " + i.ToString())); } return(pairs); }
public override bool Equals(object obj) { DescriptionPair other = obj as DescriptionPair; if (other == null) { return(false); } return(this.Value.Equals(other.Value)); }