If you have stringArray as string array and you want a comma delimited string then don’t apply any self logic. Optimize function is given in .Net. Following is the code snippet in C#.Net
string delimitedString = string.Join(",", stringArray);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment