using System.Collections.Generic;
public static void Main()
string[] aStr = new string[] {"a", "b", "c", "d", "e","f", "g"};
List<string> intBasket = new List<string>();
List<Basket> baskets = new List<Basket>();
Basket basket = new Basket();
Console.WriteLine(aStr.Length);
for (int i = 0; i < aStr.Length; i++)
basket.BasketId = basketId;
basket.BasketItems = new List<string>();
basket.BasketItems.AddRange(intBasket);
itemCount = 0; basketId++;
intBasket.Add($"Value {aStr[i]} Indexed at {i} Item Count {itemCount}");
basket.BasketId = basketId;
basket.BasketItems = new List<string>();
basket.BasketItems.AddRange(intBasket);
Console.WriteLine(baskets.Count);
foreach(var b in baskets)
Console.WriteLine("----");
Console.WriteLine($"Basket ID: {b.BasketId}");
foreach(var s in b.BasketItems)
public int BasketId {get;set;}
public List<string> BasketItems {get;set;}