public override bool Equals(object value) { CompareInfo other=value as CompareInfo; if(other==null) { return(false); } return(other.culture==culture); }