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
Name which controls do not have events?
Why do we use public static void main in c#?
What is datetime parse in c#?
Are cao stateful in nature?
Can you declare a class or a struct as constant?
Can you inherit multiple abstract classes in c#?
What is unsigned int?
What does using system mean in c#?
What is the default value of singleordefault?
What is a collection class in c#?
What is literal control
How to force my .net app to run as administrator on windows 7?
How many parameters can a method have c#?
What is the difference between interface and inheritance in c#?
What are annotations in c#?