Beispiel #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="FirstResponse1">A first response.</param>
        /// <param name="FirstResponse2">Another first response.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(FirstResponse FirstResponse1,
                                         FirstResponse FirstResponse2)

        => FirstResponse1.CompareTo(FirstResponse2) > 0;
Beispiel #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="FirstResponse1">A first response.</param>
        /// <param name="FirstResponse2">Another first response.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(FirstResponse FirstResponse1,
                                          FirstResponse FirstResponse2)

        => FirstResponse1.Equals(FirstResponse2);