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 assembly version series sequence?

992


What is the symbol used for in c#?

957


Is enum a value type c#?

1046


What are the types of serialization?

963


Is a decimal an integer?

873


What is the difference between class and namespace?

977


Structs are largely redundant in c++. Why does c# have them?

1257


What is difference between int and int in c#?

966


What is global asax in c#?

941


What is a partial class. Give an example?

977


Value Type and Reference Type Data type in C#?

960


What is garbage collector and where should you use in .NET?

989


What is the purpose of a console table?

946


What is the difference between var and dynamic types in c# 4.0?

1027


Why is static constructor called first?

903