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

If I return out of a try/finally in c#, does the code in the finally-clause run?

981


What is meaning of type safety in c#?

861


Differentiate between static class and singleton instance?

1027


What is Delegate and what is it used for ?

1032


What is the difference between iqueryable and ienumerable?

972


How do you create empty strings in c#?

941


Is null or empty in c#?

965


What is tryparse?

945


what is virtual method in c#?

1193


What is the difference between and xml documentation tag?

968


What kind of the information stored inside the assembly?

1007


What is private constructor c#?

926


What is the difference between properties and indexer in c#?

920


What is boxing in c#?

984


Are string objects mutable or immutable?

936