Ejemplo n.º 1
0
        private static Boolean Equals(L3ConversationKeyClass key1, L3ConversationKeyClass key2)
        {
            if (key1.Key.Length != key2.Key.Length)
            {
                return(false);
            }

            for (var i = 0; i < key1.Key.Length; i++) //for is faster then Linq
            {
                if (key1.Key[i] != key2.Key[i])
                {
                    return(false);
                }
            }

            return(true);
        }
Ejemplo n.º 2
0
 private Boolean Equals(L3ConversationKeyClass other) => Equals(this, other);