toString() 공개 메소드

public toString ( ) : string
리턴 string
예제 #1
0
        public void testtoString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
        }
예제 #2
0
파일: SocSecNumTest.cs 프로젝트: OSEHRA/mdo
 public void testtoString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123456789", theSSN.toString(), "Expected 123456789");
 }