Answers for "c# list node"

C#
2

c# list

using System.Collections.Generic;

private List<string> list;  //creates list named list of type string

list.Add(string); //adds string at last index of list
list.Count;  //get length of list
list.Insert(2,"pos 2");  // Insert string "pos 2" in position 2
list[i];  //get item from index i
Posted by: Guest on December-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language