반응형

C#/C# Tutorial 14

C# Jump Statement | break, continue, goto, return | break vs continue | jump out of | C# Tutorial for Beginners

C# Jump Statement break, continue, goto, return | break vs continue | jump out of In C#, jump statements are used to transfer control to another part of the program. There are four types of jump statements in C#: 1. break statement: It is used to exit from the current loop or switch statement. 2. continue statement: It is used to skip the current iteration of a loop and continue with the next it..

C#/C# Tutorial 2023.02.24

C# Selection Statement ( If, Else, Else If, Switch ) | C# Tutorial for Beginners

C# Selection Statement ( If, Else, Else If, Switch ) In C#, selection statements allow you to make decisions based on a certain condition or value. The two main selection statements in C# are the if statement and the switch statement. If statement The if statement is used to execute a block of code if a certain condition is true, and can optionally include an else block to execute a different bl..

C#/C# Tutorial 2023.02.21
반응형