Does C# support multiple inheritance?
Answers were Sorted based on User's Feedback
Answer / t.prabu
No, C# does not Support multiple inheritance.
It only supports multiple interface.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / priya
No, C# doen't not support Multiple inheritance.
But the concept of Multiple inheritance could be
accomplished by Interfaces.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
No, C# does not support multiple inheritance.
Is This Answer Correct ? | 0 Yes | 0 No |
What does the keyword virtual mean in the method definition?
Are tuples immutable c#?
What is a shared assembly?
Which is faster iqueryable or ienumerable?
How do you implement multiple inheritance in .NET?
What is a dynamic assembly?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
How many types of variables are there in c#?
Which collection will you use to store different types of objects collection like... int, employee, student, object etc.
Can a method return multiple values in c#?
Can a constructor have a return type?
What are async and await?