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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain copy constructor?

1152


What is jagged array in c#?

1125


What is a class level variable in c#?

984


Explain what are three test cases you should go through in unit testing?

948


What is a private class in c#?

1126


Can the nested class access, the containing class. Give an example?

896


Can you specify nested classes as partial classes?

978


How do you create user defined data types in c#?

1009


Can we have static indexer in c#?

916


What are c# types?

1060


What is the difference between do and while loop?

885


explain the nature of the assembly work?

2557


What is difference between constants and read-only?

951


What is the delegate in c#?

912


Why we use get and set method in c#?

954