c# after while loop unreachable code example
Example: c# after while loop unreachable
public R method() {
while(true) { //infinite loop
//some code
}
//from here the below code will never get executed
}
public R method() {
while(true) { //infinite loop
//some code
}
//from here the below code will never get executed
}