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...


can we declare a variable by name "this" in a class? Please
explain?

Answers were Sorted based on User's Feedback



can we declare a variable by name "this" in a class? Please explain?..

Answer / bindu sharma

No,we cannot declare a variable by name "this" because it
is a keyword.but we can use any keyword as identifiers only
when they are prefaced by the @character.

Is This Answer Correct ?    29 Yes 1 No

can we declare a variable by name "this" in a class? Please explain?..

Answer / rajat

No you cannot

Is This Answer Correct ?    13 Yes 0 No

can we declare a variable by name "this" in a class? Please explain?..

Answer / murugavel

No we can't. Because its a keyword.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What does Dispose method do with the connection object?

2 Answers  


What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.

5 Answers  


please exaplain gridview and what are the process available for it. how to add the row number automatically? is it possible to add child controls ?

2 Answers  


What do you mean by generic class in c#?

0 Answers  


Which type of variables are under the control of garbage collector?

4 Answers   Kanbay,


Name the connections does microsoft sql server support?

0 Answers  


What do you mean by casting a data type?

0 Answers  


What is xml comments in c#?

0 Answers  


What's the difference between abstraction and encapsulation?

0 Answers  


What are methods c#?

0 Answers  


What is the use of "default" and "Using" keyword?

3 Answers   TCS,


What is the use of partial methods?

0 Answers  


Categories