Browse by Tags
All Tags »
.NET »
C# (
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...
The second day of DevDays and 5 more interesting sessions to follow. At 9:15 the first session of this day started it called “Functional Programming in C#” from Oliver Sturm . In this session we dived deep in to C# with a lot of C# 3.5 LINQ and lambda...
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...
Every now and then there are situations when you have no source code available, because you lost it or you don't get it. There are some solutions to see or get the source code, with Reflector you can see the source code but you can't edit it, but with...
More Posts