The Parse methods for the common value types are there to convert a simple
string to the value. Evaluating expressions is not within its range of
capabilities.
You can write your own expression parser...
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"davebythesea" <da**********@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.com...
Hi folks,
Boolean.Parse("true") returns true, but what if you need to parse
something
such as -
Boolean.Parse("(false && false) || (false || (true && true))");
Does something exist in the .NET framework to Parse this kind of string to
one final boolean result?
Thanks for any tips,
David