NET and More

VSH13 IEnumerable, ISaveable, IDontGetIt: Understanding .NET Interfaces


2:30pm - 3:45pm

Level: Introductory to Intermediate

Jeremy Clark

Developer Educator

We all want code that's easy to maintain, extend and test. C# interfaces are here to help. I'll explain how you can use interfaces effectively in your code, starting at the beginning ("What are interfaces?") and then explore why you want to use them. Along the way I'll use existing interfaces, implement own interfaces, and take a look at dynamic loading, unit testing and dependency injection. All of which is made easier with interfaces.

You will learn:

  • How to add abstraction for awesome results
  • What the differences are between interfaces and abstract classes
  • How to create and use your own interfaces