ConverterHelper 1.0.0

Helper for easy and elegant type conversions, taking care of: nullables, enums, System.DBNull and other types inherit from System.IConvertible. The method try convert to specified type, if the conversion fail, there is an option to define a fallback value to be returned as result.

int converted = someObject.ConvertToOrDefault<int>(-1);

Install-Package ConverterHelper -Version 1.0.0
dotnet add package ConverterHelper --version 1.0.0
<PackageReference Include="ConverterHelper" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConverterHelper --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

First release.


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 861 1/29/2015