toString() public method

public toString ( ) : string
return string
Exemplo n.º 1
0
        public void testtoString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
        }
Exemplo n.º 2
0
 public void testtoString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
 }