Visual Studio C# Shortcuts | Sololearn: Learn to code for FREE!

+13

Visual Studio C# Shortcuts

VISUAL STUDIO SHORTCUTS I recently discovered a neat little shortcut for Visual Studio that can take some of the tedium out of coding the fundamentals. Let's say for example, I want to create some properties. A quick way to do this would be to type 'prop' (without quotes) and then press Tab twice. The 'Tab' key is important. What this does is fill in the code for you and save you the hassle of typing it out. All you have to do is provide the type and name, which you can switch between with the Tab. So, for example: 'prop' + Tab twice, is the same as: public int MyProperty { get; set; } Try it and see it in action. It's awesome. It also works on 'for' and 'while' loops as well: 'for' + Tab twice, is the same as: for (int i = 0; i<length; i++) { } This has been a great discovery and can really improve workflow.

9/22/2017 12:24:41 AM

Bagshot

6 Answers

New Answer

+10

Very useful thing. Thank you for sharing this with us.

+4

Привет) У меня к тебе вопрос, вот какой язык самый легкий по твоему?

+2

+1

самый лёгкий и лучший это Java