If we inherit a class do the private variables also get
inherited ?
Answers were Sorted based on User's Feedback
Answer / rathika
It will be inherited but cannot be accessible.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / kishore.a
Private variables are not inherited. Access specifier
Private is mainly mean for the inheritance concept so that
derived classes cannot inherit the private members of base
class..
| Is This Answer Correct ? | 3 Yes | 4 No |
If you want to write your own dot net language, what steps you will u take care?
Can you inherit from multiple classes in c#?
Explain the different ways a method can be overloaded?
What are properties in C#?
Can we inherit an abstract class in another abstract class. If no why and If yes how..?
What is hashtable in c# net with example?
Can you mark static constructor with access modifiers?
What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!
Does google use c#?
To whom a method is accesssed if it is marked as protected internal ?
List down the reason behind the usage of c# language.
What is the console on a mac?
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)