public static void Main()
Console.WriteLine("\n\n Sort the strings of an array using dubble sort:\n");
Console.Write("Input number of strings:");
n = Convert.ToInt32(Console.ReadLine());
Console.Write("Input {0} strings below;\n",n);
arr1[i]=Console.ReadLine();
if (arr1[j].CompareTo(arr1[j+1]) > 0)
Console.Write("\n\n After sortimg the array appears like:\n");
Console.WriteLine(arr1[i]+"");