6
Answers

How to overcome the Object reference error?

  1. last = res.LastOrDefault();//get the last string of res array
  2. string[] final = last.Split(new char[] { '(' }).ToArray();  
Am using the above code in my program.But there is a error is populated.
 "object reference not set to an instance of an object " .How to overcome this?
 
Answers (6)