Implement IDisposable when you have a class what wraps an unmanaged resource or when your class has a field that implements IDisposable.
More Related Contents:
- Handling Dialogs in WPF with MVVM
- In MVVM model should the model implement INotifyPropertyChanged interface?
- Best way to use StructureMap to implement Strategy pattern
- Best Practices For Mapping DTO to Domain Object?
- Data Access Layer design patterns
- Where to run a duplicate check for an entity
- How to do SQL Like % in Linq?
- Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0
- Case insensitive string compare in LINQ-to-SQL
- Could not load file or assembly ‘System.Data.SQLite’
- New asp.net charting controls – will they work with MVC (eventually)?
- How can I add a hint text to WPF textbox?
- How do you keep user.config settings across different assembly versions in .net?
- Calling Console.WriteLine from multiple threads
- .NET convert number to string representation (1 to one, 2 to two, etc…)
- Create a hashcode of two numbers
- Is it necessary to add a @ in front of an SqlParameter name?
- Accessing imgUr thru OAuth (uploading to user account)
- Why are circular references considered harmful? [closed]
- Making DataGridView rows a certain color based on a column value
- Why doesn’t await on Task.WhenAll throw an AggregateException?
- Json.NET serializing float/double with minimal decimal places, i.e. no redundant “.0”?
- How to completely uninstall Visual Studio 2010?
- Can you get a Func (or similar) from a MethodInfo object?
- Is .NET’s StringBuilder thread-safe
- Determine framework (CLR) version of assembly
- Unable to load DLL ‘SqlServerSpatial.dll’
- ResponseFormat.Json returns xml [duplicate]
- What’s the best way to jSON serialize a .NET DataTable in WCF?
- .NET Date Compare: Count the amount of working days since a date?