Browse by Tags
All Tags »
.NET Framework (
RSS)
When you have a list of strings like IList<string> of IEnumerable<string> and you want to convert it to for example a comma separated list you can easily do that with the String.Join method. List< string > list = new List< string...
How do we convert a string to a byte array (byte[]) and the other way around. The most simple way to do this is with the Encoding class: String to bytes: byte [] bytes = Encoding.UTF8.GetBytes( "foo" ); Bytes to string: string foo = Encoding.ASCII.GetString...
Today I was adding a webservice via "Add Web Reference" to my project. The webservice was only accessible on https with a client certificate. When I did "Add Web Reference" I got a "The underlying connection was closed: Could...
The CTP for Visual Studio 2010 and the .NET Framework 4.0 is now available! Is available as a virtual image. More info you can find at the links below: Using a download manager to get the VPC: http://blogs.msdn.com/briankel/archive/2007/09/06/a-more-reliable...
More Posts