Auto Format and Auto Indent Source Code in Visual Studio 2012

In Visual Studio 2012 if you want to to auto indent or auto format the source code just press ctrl + E and ctrl + D as shown in the image the source code will auto indent with you requiring many tabs. [caption id="attachment_93" align="alignleft" width="150"]ctrl+e ctrl+e [/caption]
[caption id="attachment_98" align="alignleft" width="150"]ctrl+d ctrl+d [/caption]              
visual studio 2012 before indentation   visual studio 2012 after indentation