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
What is assembly version series sequence?
What is the symbol used for in c#?
Is enum a value type c#?
What are the types of serialization?
Is a decimal an integer?
What is the difference between class and namespace?
Structs are largely redundant in c++. Why does c# have them?
What is difference between int and int in c#?
What is global asax in c#?
What is a partial class. Give an example?
Value Type and Reference Type Data type in C#?
What is garbage collector and where should you use in .NET?
What is the purpose of a console table?
What is the difference between var and dynamic types in c# 4.0?
Why is static constructor called first?