BigInteger.GetHashCode C# (CSharp) Метод

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int
        public override int GetHashCode()
        {
                return this.ToString().GetHashCode();
        }

Usage Example

Пример #1
0
 public void GetHashCodeTest()
 {
     BigInteger target = new BigInteger(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.GetHashCode();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
All Usage Examples Of BigInteger::GetHashCode