The ClavèCoder
This post explains how to get the CSharpCodeProvider compile C# 3.0 code.
Here's the magic line:
var csc = new CSharpCodeProvider(new Dictionary() { { "CompilerVersion", "v3.5" } });
posted on Friday, August 10, 2007 4:04 PM by kenbrubaker