https://alawirisaddam.blogspot.com/2022/02/C-sharp-loop.html