GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int
예제 #1
0
        public void PosTest1()
        {
            int expectedValue;
            int actualValue;
            UnicodeEncoding uE1 = new UnicodeEncoding();
            UnicodeEncoding uE2 = new UnicodeEncoding();

            expectedValue = uE1.GetHashCode();
            actualValue = uE2.GetHashCode();

            Assert.Equal(expectedValue, actualValue);
        }