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 types of object can I throw as exceptions?
What are sessions in c#?
Explain the ways to deploy an assembly?
How do you prevent a method from being overridden in c#?
What is static classes?
Describe the types of comments in c#?
What are assemblies?
What is sqlcommandbuilder c#?
Describe the difference between inline and code behind - which is best?
What are classes in c#?
What is the difference between decimal and integer?
Define boxing and unboxing in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)