A netstandard 2.0 library that converts a string into all numeric types using extension methods (before IParsable<T> and INumber<T>) , starting from byte and ending with BigInteger without using any reflection.
$ dotnet add package PsdExtensions.TypeConversionstring myValue = "12345";
int myIntValue = myValue.ConvertTo<int>();
// OR
string myValue = "12345";
int myIntValue = (int)myValue.ConvertTo(typeof(int));
string myValue = "12345";
bool success = myValue.TryConvertTo<int>(out int myIntValue);
// OR
string myValue = "12345";
bool success = myValue.TryConvertTo(typeof(int), out object myBoxedIntValue);
int myIntValue = (int)myBoxedIntValue;
IFormatProviderNumberStyles