July 9, 2010 2:33 AM

What you want is managed C++, also called C++/CLI by Microsoft. That lets you write C++ code that produces .NET assemblies. This is kind of an advanced thing, though. Depends on how much of a newbie you are to C++ and .NET.