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
What is c# console application?
Define an abstract class?
What is the purpose of namespace in c#?
What are custom exceptions? Why do we need them?
What is ilasm.exe used for?
What is an iqueryable in c#?
What is the difference between first and firstordefault?
Is struct object oriented?
What are the Types of configuration files and their differences
What is the difference between new and override in c#?
What do you mean by a windows process in regards to memory allocation?
What is a protected class c#?
Explain the use of virtual, sealed, override, and abstract method?
Could you explain the difference between func vs action vs predicate?
What is a datacontract?