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 tryparse c#?
What is the difference between abstraction and encapsulation in c#?
Can int be null in c#?
What is the difference between == and object.equals?
Which language is used for desktop application?
What is helper method in c#?
Explain how obfuscator works in .net
How objects are stored in memory?
What is a hashset c#?
Explain the constructor in c#.
What is variable and its classification?
What is AutoMapper in C#?
Why do we use abstract class in c#?
Explain about generics in c#.net?
Explain About web methods and its various attributes