[Tip: C# in VS]Some quick tips for working on C# in VS

1. Place your cursor, by a single click, immediately after the closing curly brace of the
Main method. This highlights the beginning and closing braces.
2. Press Ctrl+Enter. This inserts a new line between the curly braces, moves the cursor to

that line, and indents the cursor. Think about the number of keystrokes this saved you.

3. How to make use of snippet (take cw for console.write for example)

  1. Type c. This opens the IntelliSense window to the first command that starts with c.
  2. Type w. This traverses the IntelliSense list and brings you straight to the entry for cw. You can use IntelliSense to rip out code quicker than typing an entire keyword,
  which saves even more keystrokes. Also, observe that there is a torn-paper icon associated with cw, meaning that this is a snippet.
  3. Press Tab. This selects the snippet.
  4. Press Tab again. This executes the snippet, giving you a form to fill out. With each snippet, you must always press Tab twice. The first completes the snippet selection,
  and the second either gives you a form to fill out for changeable items or just places the cursor where you need to type. In this case, the second tab placed the cursor where you   need to type.
  5. Type "Simple VS2008 Program", including the quotes.
原文地址:https://www.cnblogs.com/taoxu0903/p/1670524.html