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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tryparse c#?

997


What is the difference between abstraction and encapsulation in c#?

985


Can int be null in c#?

934


What is the difference between == and object.equals?

1066


Which language is used for desktop application?

1000


What is helper method in c#?

964


Explain how obfuscator works in .net

1063


How objects are stored in memory?

1084


What is a hashset c#?

1159


Explain the constructor in c#.

1151


What is variable and its classification?

1007


What is AutoMapper in C#?

1033


Why do we use abstract class in c#?

1033


Explain about generics in c#.net?

1102


Explain About web methods and its various attributes

1039