Beginning of current line: Home
Current line end: End
The first line of the current document: Ctrl+home
End line of current document: Ctrl+end
Select the current line:
① Press Home (navigate to the beginning of the line) and press Shift+dnd (end of row) {from the beginning to the end of the line}
② Press Home (navigate to the beginning of the line) and press shift+↓ (down arrow)
Select the previous line or lines:
Press Home (navigate to the beginning of the line) and press shift+↑ (up arrow) {Select multiple lines and double-click Shift+↑}
ctrl+k+d: Quick Alignment Code ctrl+z: Undo Ctrl+s: Save (be sure to save it often!) ) ctrl+j: Quick popup smart hint shift+end, shift+home ctrl+k+c: Comment The selected code ctrl+k+u: Uncomment the selected code F1: Go to help document • Folding redundant code: #Region and #endregion • Three types of annotations • First: single-line comments start with//, followed by comments –//Single-line comments • Second: Multiline comments with/* start//End with comment content –/* */Multiline Comment • Third: Document comments on the previous line of the method or class//will produce –///–/// Document Comment –///
Use of shortcut keys in "Go". Net