i have a table which has product category, product type, and product detail. i want to create a nested array using LINQ query like if it has multiple categories like a burger, pizza etc.
suppose if a category is Pizza then there are 3 types of Pizzas: vegetable, meat, beef, and mixed. then there are different types like 6-inch pizza, 12-inch pizza. I want output like this.
1 pizza :
> > chicken:
> > > 6 inch pizza
> > > 12 inch pizza
> > vegetable:
> > > 6 inch pizza
> > > 12 inch pizza
2 Burger :
> > Fish:
> > > Medium
> > > large