public void copy_to_copies_values_to_array() { var record = new ConcreteRecordBase("one", "two", "three"); var array = new string[record.Count]; record.CopyTo(array, 0); Assert.Equal("one", array[0]); Assert.Equal("two", array[1]); Assert.Equal("three", array[2]); }
public void copy_to_copies_values_to_array() { var record = new ConcreteRecordBase("one", "two", "three"); var array = new string[record.Count]; record.CopyTo(array, 0); Assert.Equal("one", array[0]); Assert.Equal("two", array[1]); Assert.Equal("three", array[2]); }