Is there a .NET class that represents operator types?
Posted
by user323774
on Stack Overflow
See other posts from Stack Overflow
or by user323774
Published on 2010-05-04T17:22:49Z
Indexed on
2010/05/04
17:28 UTC
Read the original article
Hit count: 176
I would like to do the following:
*OperatorType* o = *OperatorType*.GreaterThan;
int i = 50;
int increment = -1;
int l = 0;
for(i; i o l; i = i + increment)
{
//code
}
this concept can be kludged in javascript using an eval()... but this idea is to have a loop that can go forward or backward based on values set at runtime.
is this possible?
Thanks
© Stack Overflow or respective owner