In my last c# project, I need provide a special function, which is showing some menu items whose caption are not constant values. For example, an menu item's caption may be "Today(nov. 30)'s new blogs". The value "nov.30" will change to "Oct.1st" when the time goes.
So I developed a class(ExpressionEvaluator) to evaluate an expression like, "DateTime.Now.ToString()".
Here is my source code: