Answers for "C# add to array example"

C#
0

c# add string to array

string[] MyArray = new string[] { "A", "B" };
MyArray = new List<string>(MyArray) { "C" }.ToArray();
//MyArray = ["A", "B", "C"]

raadgames :)
Posted by: Guest on June-11-2021
-2

c# how to append in array

int[] terms;

for(int runs = 0; runs < 400; runs++)
{
    terms[] = runs;
}
Posted by: Guest on September-27-2020

C# Answers by Framework

Browse Popular Code Answers by Language