Join Gerry O'Brien for an in-depth discussion in this video Introducing IDisposable, part of Learning C# (2014).
As we continue our focus on resource management within a .NET application…in C#, we need to focus a little bit on something called IDisposable.…Now this is not something that you're going to have to…focus on as you start working with C# on a regular basis.…This is another one of those semi-advanced concepts that you should be…aware of and know that it exists, but, as you start working…with resource management in your C# applications, getting in the more complex…applications later, IDisposable may form a…part of what your applications may implement.…
Now this is different from anything that we have…seen so far because IDisposable is known as an interface.…It's not a class, but it's actually an interface, and we didn't cover how to deal…specifically with interfaces within C# because it gets…into the intermediate to advanced concepts of C# programming.…An interface is basically like a class, only…it has methods signatures only on the implementation details,…mostly written by the programmer who's implementing this…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.