コード例 #1
0
        static void creatorder()
        {
            int i = 0;

            try
            {
                for (i = 0; i < 10; i++)
                {
                    if (listflag[i])
                    {
                        orders addo = new orders();
                        while (true)
                        {
                            if (addo.CompareTo(list[i]) >= 0)
                            {
                                list[i] = addo;
                                break;
                            }
                        }
                        break;
                    }
                }
                export();
            }
            catch (System.OutOfMemoryException)
            {
                Console.WriteLine("fail :out of memory");
            }
            finally { Console.WriteLine("end"); };
            Assert.IsNotNull(list[i]);
        }