I want to know how to put the /**/ comments through shortcut. I know the Ctrl+K+C shortcut for the // comments but it comments the whole lin
To comment a block of code (more than one line) in VS select code with ALT (alt+mouse or alt+shift+arrows), and then comment with Ctrl+K Ctrl+C. With one line code only you don't need ALT.
So it's basically the same as with // comments, only ALT needs to be pressed while selecting code for more lines than one.