コード例 #1
0
        public static void Main(String[] strArgList)
        {
            GetUnicodeCategory_char GetUnicodeCategory_char = new GetUnicodeCategory_char();
            bool bDataOK;

            try
            {
                bDataOK = GetUnicodeCategory_char.ReadUnicodeData();
                if (bDataOK)
                {
                    GetUnicodeCategory_char.TestCharMethods();
                }
            }
            catch (Exception exc)
            {
                Console.WriteLine
                    ("An exception occurred while running GetUnicodeCategory_char." +
                    "\r\nException Details: " + exc);
            }
        }
コード例 #2
0
 public static void Main(String[] strArgList)
   {
   GetUnicodeCategory_char GetUnicodeCategory_char = new GetUnicodeCategory_char();
   bool bDataOK;            
   try
     {
     bDataOK = GetUnicodeCategory_char.ReadUnicodeData();
     if( bDataOK )
       GetUnicodeCategory_char.TestCharMethods();
     }
   catch(Exception exc)
     {
     Console.WriteLine
       ("An exception occurred while running GetUnicodeCategory_char." +
	"\r\nException Details: " + exc);
     }
   }