Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple function to find factorial
private static int FindFactorialWithSimulatedDelay(int no)
int result = 1;
for (int i = 1; i <= no; i++)
result = result * i;
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.