Exemple #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="CommunicatorId1">A SIM card identification.</param>
        /// <param name="CommunicatorId2">Another SIM card identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(SIM_Id CommunicatorId1,
                                         SIM_Id CommunicatorId2)

        => CommunicatorId1.CompareTo(CommunicatorId2) > 0;
Exemple #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="CommunicatorId1">A SIM card identification.</param>
        /// <param name="CommunicatorId2">Another SIM card identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(SIM_Id CommunicatorId1,
                                          SIM_Id CommunicatorId2)

        => CommunicatorId1.Equals(CommunicatorId2);