Beispiel #1
0
 /// <summary>
 /// Cast nullable <see cref="ulong"/> to <see cref="string"/>.
 /// </summary>
 /// <param name="number"></param>
 /// <param name="defaultVal"></param>
 /// <returns></returns>
 public static string CastToString(this ulong?number, string defaultVal = "") => StringConv.UInt64ToString(number, defaultVal);
 /// <summary>
 /// Convert nullable <see cref="ulong"/> to <see cref="string"/>.
 /// </summary>
 /// <param name="num"></param>
 /// <param name="defaultVal"></param>
 /// <returns></returns>
 public static string ToString(ulong?num, string defaultVal = "") => StringConv.UInt64ToString(num, defaultVal);