It is possible to run infinite loop , but not block program or form with it?
For example i have one infinite loop
private void infLoop()
{
while(1<3)
{
textBox1.Text+="1";
textBox1.Refresh();
}
}
Then on button I call it.
private void button1_Click(object sender, EventArgs e)
{
infLoop();
}
This wold block form , I cannot close it, move it, etc..
Is there some way who I run something like this in backward , and not block form with it?
Thanx