public override bool Equals(object obj) { ExGuid another = obj as ExGuid; if (another == null) { return false; } if (this.GUID != null && another.GUID != null) { return another.GUID.Equals(this.GUID) && another.Value == this.Value; } return false; }