Ok, im trying to make a new spambot in C# but i have this problem with System.Threading.Thread.Sleep. Heres my code.
Code:
string Intervalw = textBox1.Text;
System.Threading.Thread.Sleep(Intervalw);
Something like that is needed, but i get 2 errors.
Code:
1:
Error 1 The best overloaded method match for 'System.Threading.Thread.Sleep(System.TimeSpan)' has some invalid arguments C:\Users\Sørensen\Documents\Visual Studio 2008\Projects\Krilleres iZpams C\Krilleres iZpams C\Form1.cs 42 17 Krilleres iZpams C
Code:
2:
Error 2 Argument '1': cannot convert from 'string' to 'System.TimeSpan' C:\Users\Sørensen\Documents\Visual Studio 2008\Projects\Krilleres iZpams C\Krilleres iZpams C\Form1.cs 42 47 Krilleres iZpams C
Im a beginner at C# so i dont know what i should to, google didnt help me so i was hoping you would be able to. Please dont flame me for being a nab :P