IDisposable is a common interface to release allocated unmanaged resources. Many developers implement IDisposable incorrectly, which causes memory leak inside an application.More Info: http://www.bluebytesoftware.com/blog/PermaLink.aspx?guid=88e62cdf-5919-4ac7-bc33-20c06ae539ae and http://dotnetjunkies.com/WebLog/rajchaniansbiztalkblog/archive/2005/04/20/69429.aspxWhen I wrote Implements IDisposable and press ENTER, Visual Studio 2005 (Beta 2) VB.NET project, it does as follow: (added code snippet automatically):
Great code snippet for VB developers, But Visual Studio 2005 (Beta 2) C# project doesn't support it:
VB.NET code snippet forces developers to implement IDisposable interface based on standard pattern.
Is it possible to develop “custom” interface with a code snippet like IDisposable?