C#
protected void btnSaveV_Click(object sender, EventArgs e)
{
main1();
}
public void main1()
{
main2();
}
public void main2()
{
main1();
}After click on stop button want to stop this nested method looping--unable to interact because may be "While your code is being executed, the user cannot interact with your user interface.". please how to resolve it.

Sonil KumarRank #3,343 · 430 reputationPosted Jul 30, 2021, 5:01 AM EDT