can we declare a variable by name "this" in a class? Please
explain?
Answers were Sorted based on User's Feedback
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 |
What is a console in c#?
Are private class-level variables inherited?
5 Answers HCL, Siebel Systems, Visual Soft,
What is autopostback in c#?
What is void method?
Why to use “using” in c#?
What?s an interface class?
what is difference between is and as operators in c#?
What is HashTable, what is the use of it, when do we use (purpose).
What is static classes?
What is the purpose of a console table?
In c#, what will happen if you do not explicitly provide a constructor for a class?
Difference between ByVal and ByRef?