Im using the following code to split up a string and store it:
string[] proxyAdrs = linesProxy[i].Split(\':\'); string proxyServer = proxyAdrs[0]; int proxyP
Check the length of proxyAdrs before you attempt to subscript a potentially non-existent item.
proxyAdrs
if ( proxyAdrs.Length > 1 ) { item.Username = proxyAdrs[2]; }