コード例 #1
0
ファイル: FormatWithTests.cs プロジェクト: vuchl/FormatWith
        public void SpeedTest()
        {
            Dictionary <string, string> replacementDictionary = new Dictionary <string, string>()
            {
                ["Replacement1"] = Replacement1,
                ["Replacement2"] = Replacement2
            };

            for (int i = 0; i < 1000000; i++)
            {
                string replacement = TestFormat3.FormatWith(replacementDictionary);
            }
        }