public void EqualityOperator()
 {
     var d1 = new Dude("John"); // create new dude on the heap
     var d2 = new Dude("John"); // create another dude on the heap
     Assert.That((d1 == d2), Is.False);
     var d3 = d1; // d3 variable in fact only stores the reference or "location" of that value on the heap
     Assert.That((d1 == d3), Is.True);
 }
        public void EqualityOperator()
        {
            var d1 = new Dude("John"); // create new dude on the heap
            var d2 = new Dude("John"); // create another dude on the heap

            Assert.That((d1 == d2), Is.False);
            var d3 = d1; // d3 variable in fact only stores the reference or "location" of that value on the heap

            Assert.That((d1 == d3), Is.True);
        }