How Do I Compile C++ Using I2C Studio Script?

I cut and pasted the MasterExample.cpp to the Script portion of I2C Studio and I get an error message “CS1024: Preprocessor directive expected.” What do I need to do in order to get this to work?
You cannot use C++ code (*.cpp) in the script window of I2C Studio. You have to use the C# language. Please use the examples of the I2C.NET API (*.cs).