public override bool Equals(object obj) { var temp = obj as Item; return Id.Value == temp.Id && string.Compare(Text, temp.Text, true) == 0; }