using System.Collections.Generic; namespace DataSources { public class Category { public string Name { get; } public string Description { get; } public List Products { get; } public Category(string name, string description) { Name = name; Description = description; Products = new List(); } } public class Product { public string Name { get; } public decimal UnitPrice { get; } public Product(string name, decimal unitPrice) { Name = name; UnitPrice = unitPrice; } } }