c# array list nested code example
Example: c# nested list
using System;
using System.Collections;
using System.Collections.Generic;
//^^^ Needed libraries
List<List<type>> name = new List<List<type>>
{
new List<type> {"Hi", "How are you?"},
new List<type> {"Hope this was helpful"}
};