Computer Science, asked by Anonymous, 9 months ago

Johnny wants to insert comments in C# langauge but Mia knows only about HTML, which comment she should tell that will work in both languages.​

Answers

Answered by Anonymous
88

\huge\blue{Hello\:mate...♡}

Answer:

=> Comments are used for explaining the code and are used in a similar manner as in Java, C or C++. Compilers ignore the comment entries and do not execute them.

  • Single Line Comments : It is used to comment a single line. These comment can be written in a separate line or along with the codes in the same line. But for better understanding always use the comment in a separate line.

Syntax :

// Single Line Comments

  • Multiline Comments : It is used to comment more than one line. Generally this is used to comment out an entire block of code statements.

Syntax :

/* Multiline

Comment */

  • XML Documentation Comments : It is a special type of comment in C# and used to create the documentation of C# code by adding XML elements in the source code. XML elements are added in XML Documentation Comments of C#.

\huge\blue{Hope\:it\:helps...♡}

<marquee direction="left" behaviour="alternate"> ♥♥Be Brainly♥♥ </marquee>

Answered by humera98765
0

Explanation:

Johnny wants to insert comments in C# langauge but Mia knows only about ... which comment she should tell that will work in both languages.

Similar questions