C# nested using code example
Example 1: 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"}
};
Example 2: c# nested for loop
for ( init; condition; increment ) {
for ( init; condition; increment ) {
statement(s);
}
statement(s);
}