Exemple #1
0
        public static void Start()
        {
            Dictionary <char, int> SerialAlphabet = Fulling.FullDictionary();

            Console.ReadLine();
            string[] givenwords = AddStringArray.Add();
            Console.ReadLine();
            string[] sortedwords = DRASort.Start(SerialAlphabet, givenwords);
            char[]   c           = sortedwords.First().ToCharArray();
            Console.ReadLine();
        }
Exemple #2
0
        public static void Start()
        {
            Dictionary <char, int> SerialAlphabet = Fulling.FullDictionary();

            Console.WriteLine("Enter the first word");

            string First = Convert.ToString(Console.ReadLine());

            Console.WriteLine("Enter the second word");

            string Second = Convert.ToString(Console.ReadLine());

            Console.WriteLine("Start Checking...");

            bool check = Checking(First, Second, SerialAlphabet);

            Console.WriteLine($"The result is {check}");
        }