Print all names in single comma-separated string?
Print all names in single comma-separated string
string result = string.Join(", ", employees.Select(e => e.Name));
Follow :
Print all names in single comma-separated string
string result = string.Join(", ", employees.Select(e => e.Name));
Follow :