<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />

Microsoft.VisualBasic.CompilerServices.Conversions

public class Conversions
namespace Microsoft.VisualBasic.CompilerServices { public class Conversions { public static bool ToBoolean(string value); public static bool ToBoolean(object value); public static byte ToByte(string value); public static byte ToByte(object value); public static sbyte ToSByte(string value); public static sbyte ToSByte(object value); public static short ToShort(string value); public static short ToShort(object value); public static ushort ToUShort(string value); public static ushort ToUShort(object value); public static int ToInteger(string value); public static int ToInteger(object value); public static uint ToUInteger(string value); public static uint ToUInteger(object value); public static long ToLong(string value); public static long ToLong(object value); public static ulong ToULong(string value); public static ulong ToULong(object value); public static decimal ToDecimal(bool value); public static decimal ToDecimal(string value); public static decimal ToDecimal(object value); public static float ToSingle(string value); public static float ToSingle(object value); public static double ToDouble(string value); public static double ToDouble(object value); public static DateTime ToDate(string value); public static DateTime ToDate(object value); public static char ToChar(string value); public static char ToChar(object value); public static char[] ToCharArrayRankOne(string value); public static char[] ToCharArrayRankOne(object value); public static string ToString(short value); public static string ToString(int value); public static string ToString(uint value); public static string ToString(long value); public static string ToString(ulong value); public static string ToString(float value); public static string ToString(double value); public static string ToString(DateTime value); public static string ToString(decimal value); public static string ToString(object value); public static string ToString(bool value); public static string ToString(byte value); public static string ToString(char value); public static T ToGenericParameter<T>(object value); public static object ChangeType(object expression, Type targetType); public static object FallbackUserDefinedConversion(object expression, Type targetType); } }