in Personal

IN / OUT in VS.NET 2K3

Just a quick tidbit of information for those of you using Visual Studio.NET 2003 (and possibly other versions)… The words “IN” and “OUT” are #defines in VS.NET. I had a friend that was trying to do something like: enum MyEnum { UP, DOWN, IN, OUT, LEFT, RIGHT }; and intellisense would only show those values in the enum above IN and the program would fail to compile. If you hover the mouse over either of the two words, you will see that there is a define for them but if you don’t, you can easily start pulling your hair out trying to figure this one out if you didn’t already know about it. Just thought I would share. 🙂