Hi,
I have a list of object as following:
I want to produce the following kind of result. How I can do that using ‘foreach nested loop using linq?.
· 2018
o 1801 – Commercial
§ In
§ Out
o 1802 – Law
o 1803 – Action
o
· 2019
o 1901 – Commercial
· 2020
o 2001 – Commercial
Thanks in advance.