示例#1
0
        private static void RunSequenceAnalysis()
        {
            Console.WriteLine($"{SA_ENTRY}: ");
            string entry = Console.ReadLine();

            SequenceAnalysis sequenceAnalysis = new SequenceAnalysis();

            Console.WriteLine($"{SA_RESULT}: {sequenceAnalysis.UppercaseChars(entry)}");
        }
示例#2
0
        private static void SequenceAnalysisScenario( )
        {
            Console.Clear( );
            Console.WriteLine("Sequence of analysis will return sorted sequence of upper case letter from your input string");
            Console.Write("Type string: ");
            string input  = Console.ReadLine( );
            string result = SequenceAnalysis.FindAndOrderUpperCase(input);

            Console.WriteLine(string.Format("Sequence analysis result = {0}\n", result));
        }