C # commonly used shortcut keys F6: Generate solution Edit shortcuts Shift + Alt + Enter: switch to full-screen editing Ctrl + I: Progressive search Ctrl + left and right arrow keys: You can move one word at a time Code shortcuts Ctrl + J / Ctrl + K, L: list members Ctrl + K, M: Generate method stub F12: Go to the definition of the called procedure or variable Window shortcuts Ctrl + W, W: browser window Ctrl + D, B: Breakpoint window Hanzhong Hengpu Photoelectric Technology Co.,Ltd , https://www.hplenses.com
Ctrl + F6: Generate the current project
F7: View code
Shift + F7: View form designer
F5: Start debugging
Ctrl + F5: Start execution (without debugging)
Shift + F5: Stop debugging
Ctrl + Shift + F5: restart debugging
F9: Switch breakpoint
Ctrl + F9: enable / stop breakpoint
Ctrl + Shift + F9: delete all breakpoints
F10: Step by step
Ctrl + F10: Run to the cursor
F11: Step by step
Ctrl + B, T / Ctrl + K, K: switch bookmark switch
Ctrl + B, N / Ctrl + K, N: move to the next bookmark
Ctrl + B, P: Move to the previous bookmark
Ctrl + B, C: Clear all labels
Ctrl + Shift + I: reverse progressive search
Ctrl + F: Find
Ctrl + Shift + F: Find in the file
F3: Find next
Shift + F3: Find the previous
Ctrl + H: Replace
Ctrl + Shift + H: Replace in the file
Alt + F12: search symbol (list all search results)
Ctrl + Shift + V: Clipboard cycle
Ctrl + Up and Down Arrow keys: Scroll the code screen without moving the cursor
Ctrl + Shift + L: delete the current line
Ctrl + M, M: hide or expand the current nested collapsed state
Ctrl + M, L: Set all processes to the same hidden or expanded state
Ctrl + M, P: stop outline display
Ctrl + E, S: View blank
Ctrl + E, W: word wrap
Ctrl + G: go to the specified line
Shift + Alt + Arrow key: select rectangular text
Alt + left mouse button: select rectangular text
Ctrl + Shift + U: all capitalized
Ctrl + U: all lowercase
Ctrl + Shift + Spacebar / Ctrl + K, P: parameter information
Ctrl + K, I: Quick information
Ctrl + E, C / Ctrl + K, C: Annotate selected content
Ctrl + E, U / Ctrl + K, U: Deselect the comment content
Ctrl + K, X: ​​Insert code snippet
Ctrl + K, S: Insert outside code
Ctrl + W, S: Solution Manager
Ctrl + W, C: class view
Ctrl + W, E: Error list
Ctrl + W, output view
Ctrl + W, P: Properties window
Ctrl + W, T: task list
Ctrl + W, X: Toolbox
Ctrl + W, B: Bookmark window
Ctrl + W, U: Document outline
Ctrl + D, I: Instant window
Ctrl + Tab: Active form switch
Ctrl + Shift + N: New project
Ctrl + Shift + Open project
Ctrl + Shift + S: Save all
Shift + Alt + C: New class
Ctrl + Shift + A: New item
F5 is run in debug mode, the exceptions thrown by the program will be checked, some exceptions will be ignored by the debugger, and some exceptions will talk out of the dialog box. Which exceptions are ignored and which dialogs can be set.
Ctrl + F5 is to run the program directly. The debugger completely ignores the running state of the program, so all uncaught exceptions will cause the program to exit directly.