C # shortcut key

Source: Internet
Author: User
Tags try catch

F12: To definition; Shift + F12: to reference

 

2. F5: Start; Ctrl + F5: start execution (not debugging); Shift + F5: Stop debugging

 

3. F7: view code; Shift + F7: View designer

 

4. CTRL + ALT + L: solution Resource Manager

 

5. CTRL + ALT + J: Object Browser

 

6. F4: Display attribute window

 

7. CTRL + ALT + X: toolbox

 

8. CTRL + ALT + C Class View

 

9. Alt + enter: view attributes

 

10. F10: Process-by-process debugging can also be directly transferred to the field (attribute, etc.) Definition.

 

11. F11: Statement-by-statement debugging

 

12. CTRL + B: New breakpoint F9

 

13. CTRL + Shift + F9: Clear all breakpoints

 

14. CTRL + Shift + B to generate a solution

 

15. Shift + ALT + enter: Full Screen

 

16. Outline display: Ctrl + M, CTRL + M: Switch outline display;

CTRL + M, CTRL + L: Switch to display all outlines;

CTRL + M, crtl + P stop outline display;

CTRL + M, CTRL + O: Fold to definition

 

17. Intelligent perception: Ctrl + J: List members;

CTRL + Shift + space: parameter information;

CTRL + k, CTRL + I: Quick Info; Alt + right arrow: complete word

 

18. The mbox + Table key can be used to quickly display MessageBox. Show ("test ");

 

19. The try + Table key can be used to quickly display try catch;

Tryf + Table key to quickly display try finally

 

20. CTRL + F5 debug the console application

 

21. (CTRL + r) + (CTRL + E) encapsulate the field shortcut key

 

22. CTRL + J can display comments of words

 

23. Press Ctrl + Shift + Space key and move the mouse to the half-angle brackets to display the method overload.

 

24. CTRL + Shift + u changed to uppercase

 

25. CTRL + u changed to lower case

 

26. CTRL + H search or replace

 

27 right-click Ctrl + Shift + F10

 

28 Alt + Shift + F10 help select items

 

29 SHIFT + ALT + F10

 

30 F12 quick go to definition

 

31 Ctrl + F7 generate Compilation

 

32 Ctrl + Shift + O open the project

 

33 Ctrl + Shift + C display Class View window

 

34 Ctrl + Shift + e display resource view

 

35 Ctrl + F12 go to Declaration

 

36 Ctrl + F1 dynamic help

 

000

CW + TAB output console. writeline ();

Try + TAB output try catch code block

Foreach + TAB output foreach Loop

For + TAB output for Loop

Ctor + TAB output constructor code

Tryf + TAB output try finall

If + TAB output if Block

Else + TAB output else

Enum + TAB output Enum enumeration code

Class + TAB output class name

Do + TAB output do while loop

Exception + TAB output exception

SVM + TAB output void main ()

Indexer + TAB output indexer index code

Mbox + TAB output MessageBox. Show ()

While + TAB output while loop code block

Prop + TAB output field and attribute code

Propg + TAB output fields and attributes supported by the get accessors only

Sim + TAB output integer int main () method

Switch + TAB output switch code block

Interface + TAB output interface code

Using + TAB output using code block

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.