I am wondering if there is a straightforward way to use .NET s built in HTTP support to parse arbitrary bytes into nice HTTP requests and responses. For example, I would like to be able to pass in a byte array containing "HTTP/200 OK Content-Type:...." etc and get out some structure representing the status code, and decoded content.
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?