SyntaxBox: Converted the code to .NET 4 (VS 2010)