コード例 #1
0
    static void IsAlsoActor(MoviesDB moviesDB, bool printSep, int width)
    {
        long msecs1 = Environment.TickCount;

        long count      = 0;
        long otherCount = 0;

        foreach (long id in moviesDB.Directors())
        {
            if (moviesDB.IsAlsoActor(id))
            {
                count++;
            }
            else
            {
                otherCount++;
            }
        }

        long msecs2 = Environment.TickCount;

        PrintTime(msecs2 - msecs1, printSep, width);
    }