How do you implement multiple inheritance in .NET?
Answer Posted / kamal
When we use the Multiple inheritance we use more than one
class. Lets one condition class A and class B are base
classes and class c is is multiple inherting it.And where
class c is inheriting a function .It may be possible that
this function with same name and same signature can present
in both class A and Class B . That time how the compiler
will know that which function it should take whether from
class A or class B.So Multiple inheritance show's an error.
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
List the different stages of a thread?
What do you know about WM_CHAR message?
What are the three types of predicates?
What is iqueryable in c#?
Explain the difference between // comments, /* */ comments and /// comments?
Explain the types of assemblies in .net?
Why do we use generics in c#?
What is difference between events and delegates?
What is the adv of using System.Text.StringBuilder over System.String?
What is a Command Object in C#?
What is the role of the datareader class in ado.net connections?
Illustrate the process of code compilation in c#?
Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE
can multiple catch blocks be executed for a single try statement?
How do you sort an array in c#?