Do you want to see how infinite loop can affect performance of the application? Here is the proof.
Write down simple code below and monitor the CPU utilzation.
you can use any language to test.
protected void Page_Load(object sender, EventArgs e)
Look after running this infinite loop CPU utilzation raised to 100%.
Remember don;t use infinite loops.
Powered by Helping codeTheme by Satalaj More