System.Perf.Dictionary.EmptyDictionaryTester.CollectionCount C# (CSharp) Метод

CollectionCount() приватный Метод

private CollectionCount ( int testIndex ) : int
testIndex int
Результат int
        internal int CollectionCount(int testIndex)
        {
            int n = 0;

            if (testIndex < 0)
                n = 10;
            else
                n = (int)Math.Pow(2, testIndex);

            return n;
        }