When using Visual Studio, if your cursor is next to a brace, it will highlight the corresponding opening or closing brace on screen.
The color for the brace matching can be set in the Tools/Options dialog under the Environment/Fonts and Colors node.
The X# specific colors all start with the text "X#".