What?s the difference between // comments, /* */ comments
and /// comments?
Answers were Sorted based on User's Feedback
Answer / daniel
Single-line, multi-line and XML documentation comments.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / 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 |
What is the do while loop code?
Explain what is an interface in c#?
What is an example of a delegate?
Is and as in c#?
What is .net console?
Can you inherit multiple interfaces?
What are the return types in c#?
What are the benefits of using windows services:
What is Asynchronous call and how it can be implemented using delegates?
What is the difference between private and protected in c#?
Is predicate a functional interface?
Is it possible to execute multiple catch block for a single try statement?