Answers for "list of arrray"

0

list array

List<string> list = new List<string>()
{
    "Red",
    "Blue",
    "Green"
};

string output = string.Join(Environment.NewLine, list.ToArray());    
Console.Write(output);
Posted by: Guest on October-19-2021
0

list of arrays

List<Object[]> list = new ArrayList<>();
list.add(new String[5]);
list.add(new Integer[5]);
Object[] objects = list.get(0);
Posted by: Guest on May-22-2021

Browse Popular Code Answers by Language