hello everybody,
i started learning vb.net around 3-4 days ago. And now i playing with operators . There i have one doubt :
is it possible to treat string value like a operator ?
for example : let suppose , there are 2 variable named a ,b
of integer type which will store 2 numeric values. and one variable of string type named opertor_type
of string type which will store the operator symbol.
a=10
b=20
operator_type="+"
and here is where my doubt arise
a operator_type b 'for a+b
is that kind of statement allowed in vb.net or not ?
However i done it using switch statement.