private void Comp() { if (SomeObject1.Equals(SomeObject2)) { Console.WriteLine("We are the same!"); } else { Console.WriteLine("We are similar, but not the same object!"); } }
private void Ident() { Console.WriteLine(SomeObject1.ToString()); Console.WriteLine(SomeObject2.ToString()); }