![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions From language spec:The list of similarities between classes and structs is as follows. Longstructs can implement interfaces and can have the same kinds of members as classes. Structs differ from classes Latest Answer : Following are the main points of difference between classes and structs in C#:Value type vs Reference type: Structs are value type and classes are reference type. Whenever a struct object is assigned to another struct object a copy is created. In case ... From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class? With regard to versioning, interfaces are less flexible than classes. With a class, you can ship version 1 and then, in version 2, decide to add another method. As long as the method is not abstract (i.e., No, use interfaces instead. Latest Answer : No, Instead of this, we can inheritance the multiple interface,but C++ support multiple inheritance ... Tags : Inheritance No, use interfaces instead. Latest Answer : c# does not support multiple inheritance ... Tags : Inheritance .NET FRAMEWORK1. What is .NET Framework?The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages View Question | Asked by : Prasanna Muthukrishnan Skill/Topic: IntermediateA) YesB) No Latest Answer : C# does not support multiple implementation inheritance. A class cannot be derived from more than one class. However, a class can be derived from multiple interfaces.Conclusion: the correct answer is that C# does support multiple inheritance as long there ... Tags : Inheritance Skill/Topic: IntermediateA) Language InteroperabilityB) Garbage CollectionC) Multiple Inheritance Latest Answer : by the interface we can go for the multiplle inhertiance also so my answer ids corrget for tHAT ... Skill/Topic: IntermediateA) TrueB) FalseExplanation: Only classes can inherit. Structs can’t. Latest Answer : structs can inherit interfaces ... Tags : Inheritance Why multiple Inheritance is not possible in C#?(Please do not answer like this-It is possible through Interfaces.) Tags : Inheritance Latest Answer : When you derive a class from a base class, the derived class will inherit all members of the base class except constructors, though whether the derived class would be able to access those members would depend upon the accessibility of those members in ... Read Answers (3) | Asked by : sandeep Tags : Inheritance
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||