예제 #1
0
		public static bool Equals(NullableGuid x, NullableGuid y)
		{
			if (x.HasValue != y.HasValue) //one is null
				return false;
			else if (x.HasValue) //therefor y also HasValue
				return x.Value == y.Value;
			else //both are null
				return true;
		}
예제 #2
0
		public bool Equals(NullableGuid x)
		{
			return Equals(this, x);
		}