Follow these steps to change the foreground and background colors of the code window in VS.NET:
- Go To VS.NET>TOOLS>Options
- Choose Environment>Font and Colors>Display Items
- In Display Items, choose Text and Choose Item ForeColor and Item BackColor from the list and press OK.