Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 28, 2018 21:56
Show Gist options
  • Save bjoerntx/fcf7fdeab602e8112bef85813a4f574f to your computer and use it in GitHub Desktop.
Save bjoerntx/fcf7fdeab602e8112bef85813a4f574f to your computer and use it in GitHub Desktop.
List<Report> reports = new List<Report>();
Report report1 = new Report()
{
Name = "Test Report",
Products = new List<Product>() {
new Product() { Name = "TX Text Control Product 1", Price = 634.34F },
new Product() { Name = "TX Text Control Product 2", Price = 34.34F },
}
};
Report report2 = new Report()
{
Name = "Test Report2",
};
reports.Add(report1);
reports.Add(report2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment