Interfaces in C# | Part 1 | C#.NET Tutorial | Mr. Bangar Raju

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 60

  • @chaithravasista1622
    @chaithravasista1622 2 ปีที่แล้ว +12

    "Abstract class can contain both abstract and non-abstract methods. But the Interface contain only Abstract methods"👏👏Excellentt!! None of the websites have given this much of clarity about interfaces and abstract classes. Simply amazing👏👏👏👏

  • @rabiakhan324
    @rabiakhan324 2 ปีที่แล้ว +3

    Your explanation is of next level Sir !!!!!!

  • @imadabab
    @imadabab 5 ปีที่แล้ว +2

    One of the best explanations I have ever watched. Thanks 1000 times.

  • @TechAahar
    @TechAahar 6 ปีที่แล้ว +5

    Awesome quality of teaching, guys if you have time ever then visit once and try to grab live knowledge. Thank you Naresh Team to make such a wonderful session available for us. and specially thanks to Bangar Raju Sir. :)

  • @daalwada
    @daalwada 4 ปีที่แล้ว +18

    Update: C# 8.1 onwards Interfaces also has Method body to give a common implementation for the classes deriving that interface.

  • @letsgodevs
    @letsgodevs 4 ปีที่แล้ว +5

    Actually i am from Sri Lanka and i fall in love with this play list

  • @amgothsai7410
    @amgothsai7410 ปีที่แล้ว

    Tnq so much Bangaraju sir
    you are explaination is Execellent

  • @manjugurjar8677
    @manjugurjar8677 6 ปีที่แล้ว +7

    Sir Very good Explanations, your examples are very good for making the concepts understated-able... Keep Posting the Videos. it is really helping us...

  • @RaazKiBaat..
    @RaazKiBaat.. 5 ปีที่แล้ว +4

    Dear Sir, Please make a video on very important interview questions.
    1. An Interface does not contain any implementation, only declarations. so what is the benefit of interface?
    2. Use of delegate.
    3. Use of abstract class.

  • @jahanzaibshahid07
    @jahanzaibshahid07 4 ปีที่แล้ว +1

    Bangar Raju great banda hai yar

  • @sograbegum2820
    @sograbegum2820 ปีที่แล้ว +1

    Fantastic explanation, Sir.
    Regards

  • @balasiphone9343
    @balasiphone9343 5 ปีที่แล้ว

    Awesome sir. You comparing every other concepts too. So that is more understandable.

  • @srinivasaraoyp3640
    @srinivasaraoyp3640 5 ปีที่แล้ว +1

    Very interesting demo Sir , thank you.

  • @RAVIGUPTA-wv8gn
    @RAVIGUPTA-wv8gn 2 ปีที่แล้ว

    very nicely each and every ponint cover. 😀

  • @gouravkumarshaw417
    @gouravkumarshaw417 ปีที่แล้ว

    Generally a class inherits from another class to consume the members of its parent, where as if a class is inheriting from an interface it is to implement the members of its parent.

  • @sufiyanpatel6241
    @sufiyanpatel6241 2 ปีที่แล้ว

    Perfect Teaching 👌

  • @rakhiyadav7977
    @rakhiyadav7977 6 ปีที่แล้ว

    i liked your all videos..the explanation with examples is superb...

  • @gouravkumarshaw417
    @gouravkumarshaw417 ปีที่แล้ว

    [] interface
    {
    - Abstract Member Declarations here
    }

  • @slobodantajisic2762
    @slobodantajisic2762 3 ปีที่แล้ว

    Beginning with C# 8.0, an interface may define a default implementation for members. It can also contain static fields and so on. So what then is the essential difference between abstract classes and interfaces? Maybe inheritance, because a class can inherit only one class but multiple interfaces?

  • @mingosutu
    @mingosutu 4 ปีที่แล้ว +1

    in c# 2008 I get an error when I use void Interface1.Add(int x, int y) Class so and so does not contain a definition for "Add" and no extension method.......ect Are you missing a using directive...... But public void Add(int x, int y) is working fine. I like your videos, I have learned a lot ..Thanks again

  • @kick3020
    @kick3020 4 ปีที่แล้ว

    thank you for ur beautiful video

  • @RKURASHEED
    @RKURASHEED 7 ปีที่แล้ว +1

    Very good explanations, and thanks

  • @rammohankanakala6710
    @rammohankanakala6710 7 ปีที่แล้ว +2

    Superb sir

  • @vikram3909
    @vikram3909 4 ปีที่แล้ว

    Mr bangar raju, you told that what is interface, very nice. Can you please explain why is interface? Why we need it?

  • @anonymous_7735
    @anonymous_7735 4 ปีที่แล้ว

    sir your explanation is so good by heart thanks also want more teaching can it possible? kindly pls reply

  • @socialworker7519
    @socialworker7519 3 ปีที่แล้ว

    Good explain

  • @vinitasingh5919
    @vinitasingh5919 7 ปีที่แล้ว

    thanks sir for very nice explanation

  • @sreekanthreddy5942
    @sreekanthreddy5942 6 ปีที่แล้ว

    Nice explination it helps a lot thanks..

  • @moinakhter2474
    @moinakhter2474 7 ปีที่แล้ว

    Hi Sir can you please make a video on why and how multiple inheritance is possible while dealing with interface.....

  • @top5things968
    @top5things968 2 ปีที่แล้ว

    THANK YOU SIR .

  • @nileshshegokar4146
    @nileshshegokar4146 5 ปีที่แล้ว

    Thank you so much . it help me lot

  • @nrk2892
    @nrk2892 5 ปีที่แล้ว

    Thanks a lot sir 🙏🇮🇳

  • @nisarop
    @nisarop 5 ปีที่แล้ว

    Really appreciated 👍

  • @gouravkumarshaw417
    @gouravkumarshaw417 ปีที่แล้ว

    Interface : contains only Abstract Methods ( Methods with out method body).

  • @rahimeinollahi1
    @rahimeinollahi1 6 ปีที่แล้ว

    very very gooooooooooooooooooooood

  • @pawanpu3202
    @pawanpu3202 6 ปีที่แล้ว +2

    Sir, do u provide hard copy of these tutorial?? I need it ... Hope you will reply..😊😊

  • @borrasahithi4004
    @borrasahithi4004 2 ปีที่แล้ว

    Which template should we select to create an interface in visual studio

  • @ashuT_art
    @ashuT_art 7 ปีที่แล้ว +1

    thank you very much sir..

  • @krishnavamsi1126
    @krishnavamsi1126 3 หลายเดือนก่อน

    thanks sir

  • @amit5196
    @amit5196 6 ปีที่แล้ว

    Sir please upload more vedio of c# series

  • @sushmakonda5184
    @sushmakonda5184 7 ปีที่แล้ว

    clear explanation sir

  • @denemeuyesi1212
    @denemeuyesi1212 6 ปีที่แล้ว +1

    You are a good teacher but I can only understand %80 of what you say, we need captions. Even automatic captions would work, as it did for me in the abstract video.

  • @gouravkumarshaw417
    @gouravkumarshaw417 ปีที่แล้ว

    Every abstract method of an interface should be implemented by the child class of he interface.

  • @rohitjangid948
    @rohitjangid948 2 ปีที่แล้ว

    There is a mistake. The default access specifier for the class is internal not private.

  • @swapnilmisal81
    @swapnilmisal81 6 ปีที่แล้ว

    Sir please tell me which software you use for s screen recording and sound recording

  • @shashidulu
    @shashidulu 6 ปีที่แล้ว

    Sir I was asked what is explicit interface. I got confused and could not answer it. Can you explain the same sir?

  • @rd-thebossdasgupta710
    @rd-thebossdasgupta710 6 ปีที่แล้ว

    is there needs to mention scope in interface??

  • @pardhasaradhi4798
    @pardhasaradhi4798 6 ปีที่แล้ว

    Default scope for class is internal,Not private.!

    • @paridadibya1629
      @paridadibya1629 6 ปีที่แล้ว

      Sir was talking about default type of member of the class, not class itself

    • @RanjeetKumar-gg7ie
      @RanjeetKumar-gg7ie 4 ปีที่แล้ว

      what if the class is nested? will itbe internal or private ! Think again

  • @TenzinThinley
    @TenzinThinley 2 ปีที่แล้ว

    multiple inheritance.

  • @JaspalSingh-fm6sf
    @JaspalSingh-fm6sf 6 ปีที่แล้ว

    But sir by default interface scope toh public hota h ..fir error kyu a rhi thi .on time 21:14

    • @qyounus
      @qyounus 4 ปีที่แล้ว

      The default scope of method inside interface is public. But the method is being implemented in a derived class. And the default scope of any method or field inside class is private.

  • @AI-ji2sq
    @AI-ji2sq 6 ปีที่แล้ว

    The default scope for the class is INTERNAL or otherwise to be declared public. Private, protected and protected internal can be applied only to nested classes.

  • @snehasishmallik2820
    @snehasishmallik2820 ปีที่แล้ว

    16-20-17 and .....

  • @swapnilmisal81
    @swapnilmisal81 6 ปีที่แล้ว

    Hii

  • @sunnymaurya4633
    @sunnymaurya4633 6 ปีที่แล้ว

    for me ty is not enough to say

  • @inamhusain
    @inamhusain 3 ปีที่แล้ว

    abay typest kiya perha raha hai. aik hi baat ko khud hi flasekahta hai. phir wo ho repaeat kerta hai.