GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int
예제 #1
0
 public void PosTest2()
 {
     UTF8Encoding utf8a = new UTF8Encoding(true);
     UTF8Encoding utf8b = new UTF8Encoding(true, true);
     Assert.NotEqual(utf8a.GetHashCode(), utf8b.GetHashCode());
 }
예제 #2
0
 public void PosTest1()
 {
     UTF8Encoding utf8a = new UTF8Encoding();
     UTF8Encoding utf8b = utf8a;
     Assert.Equal(utf8a.GetHashCode(), utf8b.GetHashCode());
 }