System.Data.SqlTypes.SqlInt64.Equals C# (CSharp) Method

Equals() public static method

public static Equals ( SqlInt64 x, SqlInt64 y ) : SqlBoolean
x SqlInt64
y SqlInt64
return SqlBoolean
        public static SqlBoolean Equals(SqlInt64 x, SqlInt64 y)
        {
            return (x == y);
        }

Same methods

SqlInt64::Equals ( object value ) : bool

Usage Example

Ejemplo n.º 1
0
        public void EqualsMethod()
        {
            SqlInt64 Test0 = new SqlInt64(0);
            SqlInt64 Test158 = new SqlInt64(158);
            SqlInt64 Test180 = new SqlInt64(180);
            SqlInt64 Test180II = new SqlInt64(180);

            Assert.True(!Test0.Equals(Test158));
            Assert.True(!Test158.Equals(Test180));
            Assert.True(!Test180.Equals(new SqlString("TEST")));
            Assert.True(Test180.Equals(Test180II));
        }
All Usage Examples Of System.Data.SqlTypes.SqlInt64::Equals