Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active May 16, 2018 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/36b35b0f550b2ef492ad9ca4d332db02 to your computer and use it in GitHub Desktop.
Save bjoerntx/36b35b0f550b2ef492ad9ca4d332db02 to your computer and use it in GitHub Desktop.
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