There is NO default return type of functions in C#. If you don’t want to return any value, the function must be declared as void. 1 2 3 4 public void MyFunc() { Console.Write("My Function"); }public void MyFunc() { Console.Write("My…
Read more ›
There is NO default return type of functions in C#. If you don’t want to return any value, the function must be declared as void. 1 2 3 4 public void MyFunc() { Console.Write("My Function"); }public void MyFunc() { Console.Write("My…
The continue statement is used to pass the control to the next iteration of the loop it is in. So, it can only be used with loops. for 1 2 3 4 5 6 7 8 for (int I =…