c# Write a for-loop that displays the hidden word, replacing unguessed letters with underscores. using bool code example
Example: c sharp exit while loop
// To forcibly exit a while loop use 'break'
while (true)
{
// Do something
if (conditional)
{
break;
}
}