C# C# Basics (Retired) Prepare and Plan Preparation and Planning

Chris Huang
PRO
Chris Huang
Pro Student 123 Points

can I put // behind { ? EX. {//Promt the user...} or just // anywhere {} inside?

as title I dont get it. // could be anywhere just keep {} inside?

2 Answers

pet
pet
10,908 Points

Just one moment. The program will ignore ONLY the rest of the line will be commentified and not the next line there is no cap for the comment.

// are recommended to be inside braces because they indicates the beggining of every command