System.Text.UnicodeEncoding.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            throw null;
        }

Usage Example

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