Part 35 - C# Tutorial - Multiple class inheritance using interfaces.avi

preview_player
Показать описание
In this part of the c sharp tutorial we will learn to achieve multiple class inheritance using interfaces

Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All C# Text Articles

All C# Slides

Complete C# tutorial

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic
Рекомендации по теме
Комментарии
Автор

I can't understand why people dislikes such great
I think these people are those who are not following these tutorial properly, or does't have any knowledge of basic#

sijimathew
Автор

woow kudvenkat, you make much more sense than hours of college classes. Thanks for your contribution. I will look forward to learning more from you. Thanks againg!

Dpaz
Автор

Great ... You have made these topics really simple to understand.
Can you also provide the code snippets please, I need to watch over 10 videos daily and its not possible to do hands on on each even though i want to practice it.

tanmaymishra
Автор

Thank you kudvenkad your classes are absolutely amazing.

toonvandemortel
Автор

The Methods are accessible without Interfaces IA, IB but a small note which i observed the final class AB if we dont inherit IA, IB we can have any method name and implement it not necessarily the name AMethod , Compiler does not complain. But once we decide to inherit IA, IB compiler becomes strict with the method name and we have to stick to the method name as same as the interface method name that is AMethod, BMethod.

ankitaburman
Автор

hey brother nice job but we can achieve that without any interface only creating object in AB class from class (A, B )
great job thx

ahmedgamal
Автор

Venkat, thank you for all the excellent videos. Hi I am learning C#...Class AB inherits from interfaces IA and IB whose methods < Amthod() & BMethod() > are not implemented as per rules of Interfaces. When this is the situation.. i am assuming that, objects created(a, b) in class AB are calling methods < Amthod() & BMethod() > from interfaces only not from classes. this is my understanding.
my Question:.. when this is the situation.. how can it print A and B from classes method Definitions.
Thank you in advance. Please explain it in more detail way that will help me to proceed further in learning c#

rjayanth
Автор

Thanks! great info. Very easy to understand!

RIJSA
Автор

Thank you Venkat, this explanation helps us a lot in understanding the point of interfaces.

shekelboi
Автор

Thank you very much for your helpful and easy to understand teaching.

aliazad
Автор

sir in last tutorial number 34, the problem was due to ambiguity in name of method which is common in all class (print). but in this example we considered different names of methods and also we are creating two new instances so how does exactly interface helps to solve problem mention in previous video ? kindly guide.

web._metaverse_XR
Автор

I wonder if creating new instances affects the performance of the application? Or it would be the same thing with multiple inheritance(if it would be possible), meaning that objects of the classes we inherit would be created in memory?

mradosovic
Автор

HI Venkat,

Thank you for all your preceding videos on inheritence, polymorphism, interfaces and abstract classes.

As my project and my inheritence requirements grows more complex, I am finding it difficult to determine where I need to use classes, abstract classes and interfaces and I find that I am having to go back many times and change type definitions.

I have a suspicion that the use of class diagrams to help me plan my relationships would help here. Can you put a video together for this?

spideyinsa
Автор

Damn this is so clever... Never would have thought of it myself, awesome content!

tomislavvinkovic
Автор

Excellent breakdown of critical OOP C# technique.

seanloveslost
Автор

Thanks for all your video's !! Really helpfull for an old Delphi guy...

purgie
Автор

Another nice topic, which I'm now starting to study, would be design patterns. Understanding these seem to be really critical for good sound object design, and let not kid, nobody explains quite like you :-)

spideyinsa
Автор

Hi, I have created playlists for asp.net, c#, dot net basics, and sql server already. I have included the link for the playlists in the description of this video. Please let me know if you have found it useful.

Csharp-video-tutorialsBlogspot
Автор

Thanks a lot sir you are saving my life

viveksingh-plvi
Автор

Can someone please help me out!!

So in the previous video he explained why we can't do multiple class inheritance. The main reason was the diamond problem, which we got after methods in class B and C overrided method in A.

But in this video when using multiple class inheritance, there wasn't any overriding etc, coz each interface had it's own method. So I don't understand how the problem is solved by using multiple interface inheritance instead of multiple class inheritance.

Any help would be greatly appreciated!!

unknownx
visit shbcf.ru