System.Perf.StringBuilding.StringBuildingTester.ConcatFormat C# (CSharp) Method

ConcatFormat() private method

private ConcatFormat ( IStringRunner sr ) : void
sr IStringRunner
return void
        public void ConcatFormat(IStringRunner sr)
        {
            string format = "{0} {1}";
            string s1 = "myword";
            string s2 = "myotherword";
            for (int i = 0; i < count; ++i)
                sr.ConcatFormat(format, s1, s2);
        }