コード例 #1
0
 public int CompareTo(NamedCustomLinkedList <T> other)
 {
     if (ReferenceEquals(this, other))
     {
         return(0);
     }
     if (ReferenceEquals(null, other))
     {
         return(1);
     }
     return(string.CompareOrdinal(Name, other.Name));
 }
コード例 #2
0
 public NamedCustomLinkedList(NamedCustomLinkedList <T> source) : base(source)
 {
     Name = source.Name;
 }