Last active
May 16, 2018 14:23
-
-
Save bjoerntx/36b35b0f550b2ef492ad9ca4d332db02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Report | |
{ | |
public Row[] Rows { get; set; } | |
} | |
public class Row | |
{ | |
public int Value { get; set; } | |
public string Name { get; set; } | |
} | |
Report report = new Report() | |
{ | |
Rows = new Row[] { | |
new Row() { Name = "Row0", Value = 10 }, | |
new Row() { Name = "Row1", Value = 100 }, | |
new Row() { Name = "Row2", Value = 200 }, | |
new Row() { Name = "Row3", Value = 300 }, | |
new Row() { Name = "Row4", Value = 400 }, | |
new Row() { Name = "Row5", Value = 500 }, | |
new Row() { Name = "Row6", Value = 600 }, | |
new Row() { Name = "Row7", Value = 700 }, | |
} | |
}; | |
reports = new List<Report>() { report }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment