예제 #1
0
        /// <summary>
        /// Main body of the program. You should do all the setting up here.
        /// </summary>
        static void Main()
        {
            int iterations = 1000;
            IStringConcatenator testClass = new UsingStringBuilder();

            Console.WriteLine("Starting tests!");
            TestEngine.PerformTest(testClass, TestStrings.GetArbitraryLengthList(500), 5, iterations);

            CloseOnKeyPress();
        }
예제 #2
0
 public static void Main(String[] args)
 {
     GetNumericValue.Go();
     CharConvert.Go();
     ComparingStringForEquality.Go();
     ComparingStringsForSorting.Go();
     Interning.Go();
     UsingStringInfo.Go();
     UsingStringBuilder.Go();
     Formatting.Go();
     CustomFormatter.Go();
     Encodings.Go();
     EncodingProperties.Go();
     CodePageConverter.Go(args);
     Base64Encoding.Go();
     UsingSecureString.Go();
 }