public static void Main()
Console.WriteLine("Please enter a sentence");
string text = Console.ReadLine();
string[] array_words = text.Split(new char[] {' '});
for (int i = 0; i< array_words.Length; i++)
Console.WriteLine(array_words[i]);
Console.WriteLine("The number of the words are : " + array_words.Length);