Answers for "how to add element in an array in c sharp"

C#
13

c# add to array

var Freds = new [] { "Fred", "Freddy" };
Freds = Freds.Concat(new [] { "Frederick" }).ToArray();
Posted by: Guest on May-01-2020

Code answers related to "how to add element in an array in c sharp"

C# Answers by Framework

Browse Popular Code Answers by Language