It is possible to select VB.NET, C# or any other.NET programming language for writing scripts (J#, managed c++, any other).
Language is set in the Document.ScriptLanguage property. VisualBasic.NET is a default language.
In order to use any other language, it is necessary to specify location of the required compiler. It should be name of the System.CodeDom.Compiler.CodeDomProvider descendant type.
If necessary, it is possible to set compiler version using the Document.CompilerVersion property. For example, to use C# v. 3.5, it is necessary to set Document.CompilerVersion = "3.5".
Note: Scripts are compiled at the moment the report is generated, that is why compiler of the corresponding version should be installed on every computer where the reports will be generated by this template.