Answers for "unlimited string array c#"

C#
2

c# string array initialization

string[] items = { "Item1", "Item2", "Item3", "Item4" };

string[] items = new string[]
{
  "Item1", "Item2", "Item3", "Item4"
};

string[] items = new string[10];
items[0] = "Item1";
items[1] = "Item2"; // ...
Posted by: Guest on June-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language