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(); }
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}"); }