Bee Eee Blog

Archive for April 14th, 2008

c# joining an array of strings.

by brian on Apr.14, 2008, under .NET, c#, coding

Here the easy way to get comma’s between each of the items in an array in a string.

string[] string_array=new string[]{"1","2","3","4"};
String.Join(",",string_array)

The output is:

1,2,3,4
Leave a Comment :, , more...

c# Command Line Arguments

by brian on Apr.14, 2008, under .NET, Uncategorized, c#, coding

Here’s how you access the command line arguments:

string[] argv = Environment.GetCommandLineArgs();
Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...