JeremyBytes - C# Generics - Part 2: Interfaces

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

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

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

    so far the best tutorial I have seen on generic interfaces, thank you so much for sharing the knowledge!

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

    Really great tutorial to understand the usage of Generic Collections. Thank you Jeremy

  • @TheGreatOne428
    @TheGreatOne428 8 ปีที่แล้ว

    This video was really helpful and neat.Answered so many queries that I had for the longest time.Thanks Sir Clark.

  • @MichaelLevAstro
    @MichaelLevAstro 10 ปีที่แล้ว

    You are a very good teacher!
    I Have learned a lot from the Generics videos.
    I'll be sure to check out future uploads :)

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

    one of best video i ever have seen, many thanks Jeremy

  • @arunkumar-bn1tv
    @arunkumar-bn1tv 8 ปีที่แล้ว

    Well Explained Clark, Thanks for taking time to share the Knowledge.

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

    Hi Jeremy,
    You are very good at teaching c#.
    Please add more videos on complex c# topics.

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

    We've created a universal generic interface. But can we make universal repository which will work with any kind of models (products, clients etc.)? Or the solution is just implementing same interface multiple times by one repository?

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

    Excellent explanation. really great tutorial. Thank you very much.

  • @sumitarora2359
    @sumitarora2359 8 ปีที่แล้ว

    can you post some videos on Expression trees and Covariance and contravariance

  • @anjaiahkeesari6970
    @anjaiahkeesari6970 10 ปีที่แล้ว

    good presentation!! excellent video on generis

  • @deeptisingh6428
    @deeptisingh6428 9 ปีที่แล้ว

    very well explained! excellent video

  • @Dismanameboi
    @Dismanameboi 5 หลายเดือนก่อน

    Fantastic tutorial

  • @PhaniKatakam
    @PhaniKatakam 10 ปีที่แล้ว

    Jeremy, Could you please also discuss Constraints on generic and other advanced topics... thanks anyway!

    • @jeremybytes
      @jeremybytes  10 ปีที่แล้ว

      Hi, Phani. I will be covering constraints in an upcoming video (I know it's been a while, but I will have more videos soon). In the meantime, you can look at the Walkthrough PDF on my website that covers constraints: www.jeremybytes.com/Downloads/Generics.pdf

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

    Bro although assuredly you meant well and did a nice job, I couldn't let go of the obvious John Smith Jeremy Smith error for GetPerson(), but I'm just suffering through these to get to the latter videos , but yea my two cents

  • @jameshwang4259
    @jameshwang4259 9 ปีที่แล้ว

    very very good tutorial! thanks.

  • @JarredBeverly
    @JarredBeverly 9 ปีที่แล้ว

    Thank you! This makes learning this stuff crazy simple! Keep up the amazing vids!

  • @fvmmuhi2
    @fvmmuhi2 8 ปีที่แล้ว

    Really helpful video.

  • @gk4y4
    @gk4y4 10 ปีที่แล้ว

    amazing videos! thanks

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

    great video

  • @dasiths
    @dasiths 8 ปีที่แล้ว

    There is a view among architects that Repository is an anti pattern. rob.conery.io/2014/03/04/repositories-and-unitofwork-are-not-a-good-idea/
    I know it's a bit out of scope for this but I wonder repository is the best concept to demonstrate generics.

    • @jeremybytes
      @jeremybytes  8 ปีที่แล้ว

      Rob's article is primarily about putting a Repository on top of Entity Framework (which can be considered a Repository itself); This is unnecessary, and extra layers of unused abstractions make code difficult to maintain.
      The main reason that I use Repositories as examples is that the concept is easy to grasp, particularly when showing advantages of loose coupling with interfaces and dependency injection. Repository might not be the best example here, but it does show how generics can make an interface more flexible. I'm generally a fan of more explicit method names for repository methods, so I reserve Repository for specific circumstances.
      I've written a bit more about repositories here: jeremybytes.blogspot.com/2013/08/do-i-really-need-repository.html
      Thanks for the comment. I'm always looking for ways to improve my code.

    • @dasiths
      @dasiths 8 ปีที่แล้ว

      Shall read it. I just wanted to get your opinion about the Rep pattern. It's always refreshing to get the opinions of experienced developers. Cheers.

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

    Awesome..

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

    Awesome but watch at speed 1.25x