Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

IDisposable Best Practices for C# Developers

IDisposable is at the heart of .NET. This course will teach you all about implementing and using IDisposable in C#, and show you what goes wrong if you don't use IDisposable, so you know why you need to use it in your solutions.

Intermediate
2h 7m
(715)

Created by Elton Stoneman

Last Updated Jun 29, 2021

Course Thumbnail
  • Course

IDisposable Best Practices for C# Developers

IDisposable is at the heart of .NET. This course will teach you all about implementing and using IDisposable in C#, and show you what goes wrong if you don't use IDisposable, so you know why you need to use it in your solutions.

Intermediate
2h 7m
(715)

Created by Elton Stoneman

Last Updated Jun 29, 2021

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

IDisposable is at the heart of .NET, and it's been there since the first release. It is the only part of the framework where .NET asks for your help. If you don't use IDisposable correctly, the .NET Garbage Collector can't manage memory properly, so your app won't run efficiently, it may have strange errors, and it will eventually crash. This course will teach you all about implementing and using IDisposable in C#, and show you what goes wrong if you don't use IDisposable, so you know why you need to use it in your solutions.

IDisposable Best Practices for C# Developers
Intermediate
2h 7m
(715)
Table of contents

About the author
Elton Stoneman - Pluralsight course - IDisposable Best Practices for C# Developers
Elton Stoneman
39 courses 4.5 author rating 5987 ratings

Elton is an independent consultant specializing in systems integration with the Microsoft stack. He is a Microsoft MVP, blogger, and practicing Technical Architect.

Get started with Pluralsight