I am trying to split the string
tab or space. This my code:
string s = File.ReadLine();
string[] str =s.Split(new Char[] { ' ', '\t'});"
"Soccer SOCCER 11" //this is the content of variable s.
But I am getting the following error:
Object reference not set to an instance of an object
What am I doing wrong? Please help me to debug this.