Does C# support multiple inheritance?

Answer Posted / neerajtyagi

No, there is no direct way to support multiple inheritance
in C# like C++.

But you can acheive multiple inheritance in C# using
interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

715


Is c# a backend language?

744


Does unity use c++ or c#?

655


Explain the difference between “constant” and “read-only” variables used in c#?

764


What is dataadapter c#?

643


Why do we need generics?

687


What are floating point numbers?

663


What is the difference between null and string empty in c#?

634


What is the difference between virtual and override in c#?

715


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

694


What is difference between code access and role based security?

711


How do you name a variable in c#?

691


What is xor operation?

700


Explain the difference between the system.array.copyto() and system.array.clone()?

690


Explain the difference between the debug class and trace class?

664