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
Does c# do array bounds checking?
Name the control which cannot be placed in mdi?
Int map to which .net types?
What is the difference between abstract class and interface in c#?
how encapsulation is implemented in c#
What is final keyword in c#?
What is lazy loading c#?
How do you serialize an object?
Is c# a technology?
Which operator cannot be overloaded in c sharp?
What is the default modifier for class in c#?
What is the default value of singleordefault?
Is void a class?
How can you reference current thread of the method ?
How to rotate an Image in C#?