Split Function in C#

using System;

class Program
{
   static void Main()
   {
     string s = "I love my india";
//split string on space and storing in words
  string[] words = s.Split(' '); foreach (string word in words) { Console.WriteLine(word); } } }

output
I
love
my
india
Ebook Download
View all
Learn
View all