Skip to content

Commit bc9a3b2

Browse files
committed
updated c# demo to support generic values and removed useless files
1 parent 890476c commit bc9a3b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Demo.CS/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ static void Main(string[] args)
3636
foreach (Row r in doc.Rows)
3737
{
3838
// 6. Loop through the values
39-
foreach (Value v in r.Values)
39+
foreach (Value<object> v in r.Values)
4040
Console.Write(v + "\t");
4141
Console.WriteLine("");
4242
}
4343

4444
//Let's change some stuff...
45-
doc.Rows[0].UpdateValue(0, new Value("Michael"));
46-
doc.Rows[0].UpdateValue(2, new Value(64));
45+
doc.Rows[0].UpdateValue(0, new Value<object>("Michael"));
46+
doc.Rows[0].UpdateValue(2, new Value<object>(64));
4747

4848
// 7. Serializer part - Create a serializer
4949
Serializer serializer = new Serializer(doc, "users_.csv");

0 commit comments

Comments
 (0)