Ctrl + M + 0Collapse all methods
Ctrl + M + PExpand all methods
Ctrl + K + DRe-align all code/lines
Highlight lines then [Tab]Increment indent of lines
Highlight lines then [Shift] + [Tab]Decrease indent of lines
Put the cursor on a line
or highlight lines
then [Shift] + [Del]Delete entire line at once
Put the cursor on a variable or method, then [F12]Look for the location of declaration or definition of a variable (or a method)
Put the cursor on a line, then [F9]
This is to put a breakpoint. Set your program into debug mode, then, when you run your program, the program execution will stop there.
Full List of Shortcut Keys of Visual Studio
Read more at: https://learn.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio
