Click here to Skip to main content
15,886,110 members
Articles / Programming Languages / C#

Evaluate C# Code (Eval Function)

Rate me:
Please Sign up or sign in to vote.
4.74/5 (48 votes)
12 Oct 2005CPOL 418.4K   4.9K   130  
An example that provides an Eval function for compiling/evaluating C# code at runtime.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Switzerland Switzerland
programmer and software junkie since 1991 zurich switzerland

Comments and Discussions