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 |
Why objects are stored in heap in c#?
Describe a Struct ?
What is the difference between // comments, /* */ comments and /// comments?
Which of these statements correctly declares a two-dimensional array in c#?
What is argument in c#?
What is a void c#?
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
What does string format do?
Describe an abstract class?
Are structs value types or reference types?
What is namespace in oop?
What are native methods?
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)