示例#1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="HashedPIN1">A hashed PIN.</param>
        /// <param name="HashedPIN2">Another hashed PIN.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(HashedPIN HashedPIN1,
                                         HashedPIN HashedPIN2)

        => HashedPIN1.CompareTo(HashedPIN2) > 0;
示例#2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="HashedPIN1">A hashed PIN.</param>
        /// <param name="HashedPIN2">Another hashed PIN.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(HashedPIN HashedPIN1,
                                          HashedPIN HashedPIN2)

        => HashedPIN1.Equals(HashedPIN2);