Is it possible to have a dynamic operator? I know I could parse it out and find the symbol just wondered if it was possible.
string aString = "5"; int a = 5; int b = 6; string op = "<"; //want to do something like dynamically without checking the value of op if( a op b) //want to use the same thing like this Int32.TryParse(aString, out a); Operator.TryParse(op, out );
just need to create my own class to do this? or is there somthing i am forgetting
appreciate your help