After a long while I am back to dealing with databases directly from ADO.NET. Guys, this is ridiculous. Any serious library designed like that would be heckled. This is what […]

WPF defines a Freezable type that is a base class for “almost immutable” objects. They can be setup in read/write mode and then “frozen” which makes them immutable and thread […]

While working on XML serializers I wandered into the XSLT land. It turned out that XSLT support in .NET is not stellar. Well, you may already know that, but it […]

Posted a larger and more structured article on the (somewhat surprising) capture rules for outer variables inside C# lambdas. http://www.ikriv.com/en/prog/info/dotnet/Lambdas.html

BTW, in earlier versions of Visual Studio (definitely VC++ 6, but maybe later) it was possible to add an arbitrary custom compilation step for a file, that worked just fine […]

Text Template Transformation Toolkit (T4) is a code generator built into Visual Studio 2008 and 2010. Yes, you have it now on your machine 🙂 It was proposed to me […]

I had an interesting bug the other day. I wrote a foreach loop along these lines: foreach (var entry in controlsByName) {     entry.Key.SomeEvent += (sender,args)=>{ProcessControlName(entry.Value);} } Looks innocent enough, […]