4min chapter

The Unhandled Exception Podcast cover image

Dependency Injection in .NET with Steve Collins

The Unhandled Exception Podcast

CHAPTER

Dotnet Delegates - What's the Difference?

The joy of the delegate way of doing things is, if you only have a single method on, say, a class, then why not just write it as a function? But also doing the interface thing. You see a lot of dotnet jects where pretty much every single class has an interest just to follow this pattern. Do you find that sometimes that's overdone? Is the i think that some people argue, do you need dependency injection at all? And i think if you got a really tiny little consol ap, then do you really need Dependency Injection?

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode