Convert a Comma Delimited String to an Array in C#


String.Join method comes handy, when we need to convert an array into a comma delimited strings or vice versa. 

The folloing code snippet shows how to convert an array to a comma delimited string.
String[] array= {"once", "upon", "a", "time"};
String seperator   = ", ";
String result = String.Join(seperator, array);

Up Next
    Ebook Download
    View all
    Learn
    View all
    Founded in 2003, Mindcracker is the authority in custom software development and innovation. We put best practices into action. We deliver solutions based on consumer and industry analysis.