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

Explain the importance and use of each, version, culture and publickeytoken for an assembly.

0 Answers  


Explain the process of polymorphism with an example?

0 Answers  


What are synchronous and asynchronous operations?

0 Answers  


What is the Difference between value and reference type?

12 Answers   Wipro,


What is iformatprovider in c#?

0 Answers  


What is generic in c#?

0 Answers  


Can we make a Static Constructor Parameterized? Give Reason with your answer

0 Answers  


Explain attributes in c#?

0 Answers  


Does c# support const methods, properties, or events?

0 Answers  


What is a cshtml file?

0 Answers  


What is the advantage of generics in c#?

0 Answers  


What can I create with c#?

0 Answers  


Categories