diky chlapi, ale fakt mam v tom hokej:
zkompiluju následující kód:
string name = fronta[currentDownload].ToString(); //zde to pada :(
//zde mam ten substring co mi radite
a při debuggingu vyleze tabulka:
tlačítka Break, Continue, Ignore (nelze zvolit)An unhandled exception of type 'Szstem.NullReferenceException' occured in exe.exe
Additional information: Object reference not set to an instance of an object
