public NamedDoubleLinkedList <T> FromList(NamedDoubleLinkedList <T> source)
        {
            var list = (NamedDoubleLinkedList <T>)base.Clone();

            list.Name = source.Name;

            return(list);
        }
        public int CompareTo(NamedDoubleLinkedList <T> other)
        {
            if (ReferenceEquals(null, other))
            {
                return(1);
            }

            return(ReferenceEquals(this, other) ? 0 : string.Compare(Name, other.Name));
        }
 public static int Compare(NamedDoubleLinkedList <T> list1, NamedDoubleLinkedList <T> list2)
 {
     return(string.CompareOrdinal(list1?.Name, list2?.Name));
 }