What?s the difference between // comments, /* */ comments
and /// comments?
Answers were Sorted based on User's Feedback
Answer / daniel
Single-line, multi-line and XML documentation comments.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / mukesh
// This is used when you want to comment only single line
Example-
// Old code
/**/ This is used when you want to comment more then one
line
Example-
/* This is old code
this is commented by Z- logic has been changed */
/// This comments are used in asp.net for any method
description. When this comment is typed on any method then
this comments creates description of method as
<Parameter>
<output>
Is This Answer Correct ? | 3 Yes | 0 No |
Distinguish between the Debug class and Trace class with its functionality?
Can I use exceptions in c#?
How to create multi-dimensional array?
How do you pronounce c#?
What is static classes in c#?
What do you mean by hashtable c#?
What is the lock statement in c#?
Why do I get a security exception when I try to run my c# app?
Does unity use c++ or c#?
How do I create a dbml file?
Difference between ByVal and ByRef?
Explain about Threading Types.