Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What?s the difference between // comments, /* */ comments
and /// comments?

Answers were Sorted based on User's Feedback



What?s the difference between // comments, /* */ comments and /// comments?..

Answer / daniel

Single-line, multi-line and XML documentation comments.

Is This Answer Correct ?    11 Yes 1 No

What?s the difference between // comments, /* */ comments and /// comments?..

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

Post New Answer

More C Sharp Interview Questions

How do I declare a pure virtual function in c#?

0 Answers  


What is a static in c#?

0 Answers  


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

0 Answers  


What is instantiating a class in c#?

0 Answers  


What is the difference between method overriding and method overloading?

0 Answers  


What is anonymous method in c#?

0 Answers  


What is the difference between webgarden and webfarm?

1 Answers   Mphasis,


Explain About a class access specifiers and method access specifiers.

0 Answers  


Where do you add an event handler ?

1 Answers  


What is fcl in c#?

0 Answers  


What is wcf c#?

0 Answers  


what is webapplication? what is windows application? what is the extension for both . in what purpose we r using webapplication. in which situation we r using windowns application

1 Answers  


Categories