Are private class-level variables inherited?
Answers were Sorted based on User's Feedback
Answer / guest
Yes, but they are not accessible, so looking at it you can
honestly say that they are not inherited. But they are.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sharifuddin
private class variables can access indirectly by with the
help of properties. This is the best way to access the
private variables of the private class.
It is not possible directly....
Its true upto my knowledge.
If there is any wrong can u explain?
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / basayya_swami
Yes, All the variable inherited but you donot access this
variable
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pushparaj pentakota(anakapalli
by using properties we can access private variables but we can't inherit private class members to another class we can access.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / chaman
no,private class-local variable are not inherited
| Is This Answer Correct ? | 0 Yes | 1 No |
What is a static field?
Can multiple catch blocks be executed?
What is assembly manifest?
How many keyword present in C# language ?
What is continue in c#?
Distinguish between system.string and system.text.stringbuilder classes?
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
How to force my .net app to run as administrator on windows 7?
What is a view? What is the use of it?
How do I declare inout arguments in c#?
What is difference between overloading and short circuiting?
how background thread access to ui control?
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)