visual studio auto format shortcut code example
Example 1: visual studio format code shortcut
//Ctrl+K, Ctrl+D
//for c# scheme: Ctrl+E, Ctrl+D
Example 2: shortcode to format code in Visul studio
In Visual Studio, the shortcut for Code Formatting is Ctrl+k Ctrl+D