What?s the difference between // comments, /* */ comments
and /// comments?
Answer Posted / 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 |
Post New Answer View All Answers
If I return out of a try/finally in c#, does the code in the finally-clause run?
What is meaning of type safety in c#?
Differentiate between static class and singleton instance?
What is Delegate and what is it used for ?
What is the difference between iqueryable and ienumerable?
How do you create empty strings in c#?
Is null or empty in c#?
What is tryparse?
what is virtual method in c#?
What is the difference between and xml documentation tag?
What kind of the information stored inside the assembly?
What is private constructor c#?
What is the difference between properties and indexer in c#?
What is boxing in c#?
Are string objects mutable or immutable?