Common .NET code I’ve been writing since it was released that features C#, VB.NET, Portable Libraries, Logging, .NET Core. Please submit an issue on this site if you have any issues, suggestions or code you would like to contibute.
For more info and examples go to: http://dotnettips.wordpress.com/category/dotnettips-utility/
Here are some of the classes and methods I use all the time:
- TryDispose: Properly disposes of any object
- DisposeFields: Disposes of ANY disposible field in an object
- InitializeFields: Initializes any field in a type.
David McCarter Microsoft MVP
Added new collection types: ConcurrentHashSet, DistinctConcurrentBag. Added disposing of dispsable items in a collection to DisposeFields.