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());
 }