Example #1
0
 public override string ToString()
 {
     if (Compounds.Count > 1)
     {
         return(string.Format("({0})", Compounds.ConcatWithSeparator(",")));
     }
     else
     {
         return(string.Format("{0}", Compounds.ConcatWithSeparator(",")));
     }
 }
Example #2
0
 public override string ToString()
 {
     return(string.Format("{{{0}}}", Compounds.ConcatWithSeparator(",")));
 }