C# List to string with delimiter

You can use String.Join. If you have a List<string> then you can call ToArray first: In .NET 4 you don’t need the ToArray anymore, since there is an overload of String.Join that takes an IEnumerable<string>. Results: John, Anna, Monica

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)