Can C# use #if to compare a value with less than or greater than?

Viewed 3935

Is there any way in C# to use the #if directive to compare a value with a less than or greater than operator?

Example:

#if GAME_SDK_VERSION < 500

#else

#endif

EDIT I see the duplicate question link but it does not clearly address my simple question of using greater than or less than symbols. I think this question is valuable enough, along with the answer given to stand on it's own.

1 Answers
Related