public ReadRawString ( int index ) : string | ||
index | int | the index of the field to read |
Результат | string |
public void TestReadRawStringName() { var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { " string " }); var read = fieldSet.ReadRawString("name"); Assert.AreEqual(" string ", read); }
public void TestReadRawStringIndex() { var fieldSet = new DefaultFieldSet(new[] { " string " }); var read = fieldSet.ReadRawString(0); Assert.AreEqual(" string ", read); }