I\'m new to Visual Studio 2010 and C#. How can I indent the selected text to left/right by using shortcuts?
Visual studio’s smart indenting does automatically indenting, but we can select a block or all the code for indentation.
Select all the code: Ctrl+a
Use either of the two ways to indentation the code:
Shift+Tab,
Ctrl+k+f.