Пример #1
0
 public void VConcat(CSVData other)
 {
     if (Object.ReferenceEquals(other, this))
     {
         other = new CSVData(other);
     }
     if (Cols.SequenceEqual(other.Cols))
     {
         AddRows(other._rows);
     }
     else
     {
         string message = String.Format("VConcat: cannot be done with CSV data with different columns");
         throw new ArgumentOutOfRangeException(nameof(other), message);
     }
 }