create List c#
using System.Collections.Generic
//type is your data type (Ej. int, string, double, bool...)
List<type> newList = new List<type>();
create List c#
using System.Collections.Generic
//type is your data type (Ej. int, string, double, bool...)
List<type> newList = new List<type>();
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us