Issue to assign value

  • Thread starter Thread starter Jackson_1990
  • Start date Start date
J

Jackson_1990

Guest
Hi,

I get error


Object reference not set to an instance of an object


due to line below. How to correct it?

pos1 = line.IndexOf("\t127.0.0.1"); pos2 = line.IndexOf("\tSMTP"); pos3 = line.IndexOf("\t530");





Many Thanks & Best Regards, Jackson Chen

Continue reading...
 

Similar threads

J
Replies
0
Views
133
Jackson_1990
J
J
Replies
0
Views
140
Jackson_1990
J
J
Replies
0
Views
107
Jackson_1990
J
J
Replies
0
Views
141
Jackson_1990
J
J
Replies
0
Views
156
Jackson_1990
J
Back
Top