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 |
Distinguish between finally and finalize blocks?
what is the difference between passing a value object by reference and a reference object by value?
What is managed code?
What is the use of command builder?
What is use of a HashTable in .NET?
What are the types of comments in c#?
What are generic types?
what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??
What is razor view in c#?
Explain the difference between a sub and a function in c#.
WHAT ARE Design Patterns USING IN DOTNET
What is the difference between field and variable 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)