public class MyClass { public MyClass( ) { } } public class MainClass { static void Main() { MyClass referenceA = new MyClass( ); MyClass referenceB = new MyClass( ); System.Console.WriteLine( "Result of Equality is {0}", referenceA == referenceB ); } }
Result of Equality is False