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 |
Can a child class call the constructor of a base class?
Why do we use reflection in c#?
Does a class need a constructor c#?
What is a float?
What is class method c#?
What are static and dynamic variables?
Define multicast delegate? How it be used?
What are indexers in c# .net?
Which string method is used for concatenation of two strings in c#?
Where is the main method in c#?
What is null character in string?
Can we overload the main method in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)