toString() public method

public toString ( ) : string
return string
示例#1
0
        public void testtoString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
        }
示例#2
0
 public void testtoString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
 }