Part 33 - C# Tutorial - Difference between abstract classes and interfaces.avi

preview_player
Показать описание
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

In this part of the c sharp tutorial we will learn about the differences between abstract classes and interfaces
Рекомендации по теме
Комментарии
Автор

i tried to read books and found many free lessons on c# all across internet, but hardly found anything with your level of clarity in describing C# concepts . Thanks a lot.

brucyyy
Автор

Best teacher, what I am today is due to your helpful materials. There was a time when I got my degree I tried a lot to get easy materials to help me in getting a job but remained jobless for a long time. But I continued struggling for getting a job, one day I got these tutorials and soon after 2 weeks I got a job. Thanks a lot sir venkat, you are really a professional teacher.

worldlovers
Автор

Best C# teacher I have seen on YouTube.

paladintip
Автор

It would have been a good idea to summarize when one would use Abstract Classes and when to use Interfaces - a real-world example would have also helped understanding. But overall a good summary.

thetedsingh
Автор

man your videos are just what i need. Thank you so much!

JfhuTheJedi
Автор

Hi Venkat! I know it's been long since you've made this video, but I'm commenting this now: Please rectify if I'm wrong. I think in current version of dotnet(6), we can also create complete method definition inside an interface, which eliminates this key difference between an abstract class and interface.

Even we can add "public" before a method definition in an interface and the compiler won't throw an error at compile-time

soubarnobanerjee
Автор

But now in C# 8.0 we have interface having implementation for its members. And many more additional features.

aniketjadhav
Автор

This videos are great. Very clear and simply explained. Best series on C#.

piobug
Автор

Great Great great video. all interview question regarding interface and abstract class difference can break from this video.Very clear and simple too

vikassangal
Автор

Use an abstract class to provide some concrete implementation but not allow instantiation. You can always instantiate an ordinary class which doesn't make sense if it can't stand alone. At the same time, an interface might not be enough if there's a concrete implementation that's identical in all implementing classes. An abstract class is just enough.

Interface: contract only, no implementation, no instantiation
Abstract class: contract, some implementation, no instantiation
Class: contract, implementation, instantiation
source:stackoverflow

ziajunaidi
Автор

Venkat you are a real genius .. Thanks for all your efforts to furnish us.

saurabhkumar-vjxp
Автор

Wonderful representation…! Now I have got clear idea and difference between an abstract class and interface…
Thanks for sharing…
Dayakar Reddy

dayakarreddy
Автор

Hi Mohamed, I have discussed when to use abstract classes in C# Interview Questions video series. I have included the link in the description of this video. Hope you will find it useful. Good Luck.

Csharp-video-tutorialsBlogspot
Автор

This is such a great teacher and brilliant series. I have learnt so much from your videos! Thank you so much.

EspatiallyGood
Автор

He should arrange a meetup. we want to meet him. Hes is so crisp and clear, he even corrects his grammar.

jnr
Автор

Cool tutorials on C#. I like each and every posts of Venkat on this subject.Superb!!. I wish I could make an adio CD and listen these in my car while going out on long trip(instead of listening the local fms).

Bichitra
Автор

Thank you that helps me alot to understand what is the difference between Abstract and interface.

ahmedabdulrazzaq
Автор

Thanks buddy, your all video very useful for all developer.

abhisheklakhera
Автор

hi im your fan.. keep your good work.. spread the knowledge to the world

gg
Автор

Interface class only contains non-implemented methods while an abstract class can have field members, implemented methods, and non-implemented methods. Interface class is a contract where the inheriter agrees to implement the methods and an abstract class is an incomplete class that can't be created and only inherited from.

sparfRF
visit shbcf.ru