public int AddColumn(string name, string[][] values) { var buf = new VBufferEqSort <DvText> [values.Length]; for (int i = 0; i < values.Length; ++i) { buf[i] = new VBufferEqSort <DvText>(values[i].Length, values[i].Select(c => new DvText(c)).ToArray()); } return(AddColumn(name, new DataColumn <VBufferEqSort <DvText> >(buf))); }
public int AddColumn(string name, long[][] values) { var buf = new VBufferEqSort <Int64> [values.Length]; for (int i = 0; i < values.Length; ++i) { buf[i] = new VBufferEqSort <Int64>(values[i].Length, values[i]); } return(AddColumn(name, new DataColumn <VBufferEqSort <Int64> >(buf))); }