Пример #1
0
 /// <summary>
 /// Cast nullable <see cref="uint"/> to <see cref="string"/>.
 /// </summary>
 /// <param name="number"></param>
 /// <param name="defaultVal"></param>
 /// <returns></returns>
 public static string CastToString(this uint?number, string defaultVal = "") => StringConv.UInt32ToString(number, defaultVal);
Пример #2
0
 /// <summary>
 /// Convert nullable <see cref="uint"/> to <see cref="string"/>.
 /// </summary>
 /// <param name="num"></param>
 /// <param name="defaultVal"></param>
 /// <returns></returns>
 public static string ToString(uint?num, string defaultVal = "") => StringConv.UInt32ToString(num, defaultVal);