

The C# comment characters // are added to the beginning of each selected line to comment out the code. If you prefer to use the keyboard, press Ctrl+ K, Ctrl+ C. Select the entire definition of morewords to the closing semi-colon, and then choose the Comment out the selected lines button on the toolbar.

We're not using the morewords variable, but we may use it later so we don't want to completely delete it. _words is a string array that we'll sort alphabetically Paste the following code into the Main() method body. In this section, we'll comment out some code. For example, you can toggle IntelliSense completion mode ( IntelliSense is a coding aid that displays a list of matching methods, amongst other things), increase or decrease a line indent, or comment out code that you don't want to compile. The toolbar, which is the row of buttons under the menu bar in Visual Studio, can help make you more productive as you code.
