var result = string.Join(",", arr);
This uses the following overload of string.Join
:
public static string Join<T>(string separator, IEnumerable<T> values);
More Related Contents:
- String Operation using Linq
- Converting strings to arrays c#
- C# String Array Returns Wrong Values
- How to convert UTF-8 byte[] to string
- How to access random item in list?
- Using C# to check if string contains a string in string array
- .NET / C# – Convert char[] to string
- Check if a value is in an array (C#)
- Is string in array?
- Checking if a string array contains a value, and if so, getting its position
- Pick Random String From Array
- string.Join on a List or other type
- Operator ‘==’ cannot be applied to operands of type ‘char’ and ‘string’
- convert string array to string
- How can I safely convert a byte array into a string and back? [duplicate]
- Is string actually an array of chars or does it just have an indexer?
- Escape double quotes in a string
- Why would you use String.Equals over ==? [duplicate]
- How do I convert a Stream into a byte[] in C#? [duplicate]
- How can I print the contents of an array horizontally?
- How to pass a single object[] to a params object[]
- How to add a string to a string[] array? There’s no .Add function
- Easiest way to parse a comma delimited string to some kind of object I can loop through to access the individual values?
- How to do ToString for a possibly null object?
- String.Format – how it works and how to implement custom formatstrings
- .NET method to convert a string to sentence case
- Fastest way to check if string contains only digits in C#
- Convert String^ in c# to CString in c++/CLI
- Why do arrays in .net only implement IEnumerable and not IEnumerable?
- Int to string: cannot convert from ‘method group’ to ‘string’ [closed]