System.Perf.DelegateInterface.DelegateInterfaceTester.CallCount C# (CSharp) Méthode

CallCount() private méthode

private CallCount ( int index ) : int
index int
Résultat int
        internal int CallCount(int index)
        {
            if (index < 0)
                return 10;
            else
                return (int)Math.Floor(Math.Pow(index, 2) * 1000);
        }