Türkçe   |   English
Calendar
Links
Blogroll
Files

BLOG
String.Join

It's easy to produce a string output of an array of strings in our applications. But it's even easier with the String.Join function:

string[] arr = new string[3];

arr[0] = "a";
arr[1] = "b";
arr[2] = "c";

string joined = String.Join("|", arr);
MessageBox.Show(joined);

This code will return an output of "a|b|c"

This overload takes the seperator as the first parameter and string array as the second parameter.

Navigate Blog

NEWS
No records found.
All News

ARTICLE
Palantir - Remote Desktop Manager
Palantir is an application that allows users to manage remote desktop connections in one window. It also allows users to save existing connections for later use.
All Articles


Photos
Me in MSDN Forums
-   SYSTEM.IO has answered the question How can i get it in the Visual C# General Forum.
-   SYSTEM.IO has answered the question How to add the VAT to the ammount in the Visual Basic General Forum.
-   SYSTEM.IO has contributed a proposed answer to the question How to add the VAT to the ammount in the Visual Basic General Forum.
-   SYSTEM.IO has replied to the question How can i get it in the Visual C# General forum.
-   SYSTEM.IO has replied to the question How to add the VAT to the ammount in the Visual Basic General forum.
-   SYSTEM.IO has answered the question How to show ToolStripMenuItem's hot key? in the Windows Forms General Forum.
-   SYSTEM.IO has contributed a proposed answer to the question How to show ToolStripMenuItem's hot key? in the Windows Forms General Forum.
-   SYSTEM.IO has answered the question Expert to Excel Missing Some Data In Grid View in the Visual C# Language Forum.
-   SYSTEM.IO has contributed a helpful post (total votes:1) to the forums thread Expert to Excel Missing Some Data In Grid View in the Visual C# Language forum.
-   SYSTEM.IO has replied to the question How to show ToolStripMenuItem's hot key? in the Windows Forms General forum.
Entries
News
Articles