Visual Studio - Is there a keyboard combination to select an entire line?

Albert picture Albert · Apr 28, 2010 · Viewed 77.7k times · Source

I already know about Ctrl + L to delete an entire line...is there one to just select an entire line (which I can then copy and paste somewhere else...)

Answer

Task picture Task · Apr 28, 2010

You can also use Ctrl + X to cut an entire line. Similarly, you can use Ctrl + C to copy an entire line.

As long as you don't have anything selected, the command will work on the entire line.