Answers for "combine list of string into one c#"

4

combine two lists c#

List<string> a = new List<string>();
List<string> b = new List<string>();

a.AddRange(b);
Posted by: Guest on September-18-2020
0

how to convert list of string to single string in c#

string Something = string.Join(",", MyList);

List<string> names = new List<string>() { "John", "Anna", "Monica" };
var result = String.Join(", ", names.ToArray());
Posted by: Guest on October-08-2020

Code answers related to "combine list of string into one c#"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language