/// <summary>
 /// Converts a given number into its unicode character.
 /// </summary>
 /// <param name="code">The code to convert.</param>
 /// <returns>The array containing the character.</returns>
 static String Convert(Int32 code)
 {
     return code.ConvertFromUtf32();
 }
 /// <summary>
 /// Converts a set of two numbers into their unicode characters.
 /// </summary>
 /// <param name="leading">The first (leading) character code.</param>
 /// <param name="trailing">The second (trailing) character code.</param>
 /// <returns>The array containing the two characters.</returns>
 static String Convert(Int32 leading, Int32 trailing)
 {
     return leading.ConvertFromUtf32() + trailing.ConvertFromUtf32();
 }
Esempio n. 3
0
 /// <summary>
 /// Converts a set of two numbers into their unicode characters.
 /// </summary>
 /// <param name="leadingCode">The first (leading) character code.</param>
 /// <param name="trailingCode">The second (trailing) character code.</param>
 /// <returns>The array containing the two characters.</returns>
 public static String Convert(Int32 leadingCode, Int32 trailingCode)
 {
     return leadingCode.ConvertFromUtf32() + trailingCode.ConvertFromUtf32();
 }