Common .NET code I’ve been writing since it was released that features C#, VB.NET, Portable Libraries, Logging, .NET Core
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.cr/user/Editor/Painting
Dependencies
SandCastle
dotNetTips.Tips.Utility.Standard.Tests
dotNetTips.Utility.PerformanceTester
dotNetTips.Utility.Portable.Tests
dotNetTips.Utility.Portable.Windows
dotNetTips.Utility.Portable
dotNetTips.Utility.Standard.Extensions
dotNetTips.Utility.Standard
dotNetTips.Utility.Windows.Logger
dotNetTips.Utility
.editorconfig
.gitattributes
.gitignore
.vssbe
LICENSE
README.md
buildspec.yaml
dotNetTips.Utility.Standard.crdata
dotNetTips.Utility.Standard.sln
dotNetTips.Utility.Standard.sln.CodeItRight.xml
dotNetTips.Utility.Standard.sln.GhostDoc.user.dic
dotNetTips.Utility.Standard.sln.GhostDoc.xml
dotNetTips.Utility.Standard.snk
dotNetTips.Utility.crdata
dotNetTips.Utility.iloprj
dotNetTips.Utility.sln
dotNetTips.Utility.sln.CodeItRight.xml
dotNetTips.Utility.sln.GhostDoc.user.dic
dotNetTips.Utility.sln.GhostDoc.xml
dotNetTips.crdata

README.md

dotNetTips.Utility

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:

  1. TryDispose: Properly disposes of any object
  2. DisposeFields: Disposes of ANY disposible field in an object
  3. InitializeFields: Initializes any field in a type.

David McCarter Microsoft MVP

Version 2018.1.15.0

Added new collection types: ConcurrentHashSet, DistinctConcurrentBag. Added disposing of dispsable items in a collection to DisposeFields.