BigInteger.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
                return this.ToString().GetHashCode();
        }

Usage Example

Ejemplo n.º 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