This page is a work in progress.You can help improve it. →

Terminology

TermDefinition
Single Line CommentsWhen commenting on code in C# use //. This allows you to comment out one line in VSCode.
Multi-Line CommentsWhen commenting on code in C# use /* at the beginning of the comment and */ at the end. This allows you to comment out multiple lines in VSCode.
Shortcut for Commenting MacWhen your cursor is on a line in VSCode if you press CMD + / it will comment that line out. If you highlight multiple lines it will comment out multiple lines.
Shortcut for Commenting WindowsWhen your cursor is on a line in VSCode if you press CTRL + / it will comment that line out. If you highlight multiple lines it will comment out multiple lines.
© 2017 - 2021; Built with ♥ in St. Petersburg, Florida.