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's the difference between the debug class and trace class? Documentation looks the same.
What is a clr (common language runtime)?
What is the difference between ienumerable and enumerable?
What is singleordefault c#?
Why do we use stringbuilder in c#?
what are the contents of an assembly ?
What is difference between gridview and form view?
What are circular references?
What is difference between association, aggregation and inheritance relationships?
What are delegates and why are they required?
What is datareader c#?
What is the execution entry point for a c# console application?
Which types of inheritances does c# support?
How to move to a state-related codebase?
Explain the difference between .net and c#?