string join inside foreach loop c#

63

string join inside foreach loop c# -

//join string inside loop 
finalString = string.Join("|", EmployeeList.Select( x=> x.Name));

Comments

Submit
0 Comments