بسم الله الر حمن الر حيم
First, If you were asked about how to provide comments in C #, how would you answer it?
Perhaps you will say: please see the help file,or for those of you who are used to using this language, you surely know the answer. Yes, the answer must use the characters / / to one paragraph and / ** / for a few paragraphs...
Yupz, way to comment on the language C # is almost similar to the way to comment to Delphi, this is because the designers of C # are the same people when designing Delphi, Anders Hejlsberg name. Previously he worked at Borland for Delphi design, but now he was at Microsoft to design and develop C # language
So, how to comment on the language C # is:
A multiline comment
- This type of comment must begin with /* and end with */.
- Anything between these two comment symbols is ignored by the compiler.
- A single-line comment begins with a // and ends at the end of the line.
- Programmers use multiline comments for longer remarks and single-line comments for brief, line-by-line descriptions.
Alhamdulillah, Hopefully helpful,,,