I published JsonReader on codeplex. It was a private project to try to learn something about JSON. JsonReader reads json objects and arrays. It is in its alpha stage. It needs some refactoring and I have to add unit test. Well I think alot of stuff can be added. I will take care of that later on.
Month: November 2007
One thing I learned today
Today I learned how to retrieve the default value of a parameterized type T in a generic type definition in C#. The issue is that one does not know in advanced if T is a reference type or value type. And if it is a value type if it is a struct or not. So when you need to get the default value of T use the following construct:
T someVar = default(T);
You can find more detailed info about the default keyword here.
Microsoft releases Visual Studio.Net 2008 and .Net 3.5 at the end of november
Microsoft announced at Teched Barcelona that Visual Studio.Net 2008 and the .Net 3.5 framework are to be released at the end of november. This is great news. I know what I am going to do during the holidays ;^).