New course! Every coder should learn Generative AI!
Try a free lesson+ 1
If a method does not return any value, you should use the return type:
If a method does not return any value, you should use the return type:
1 Answer
0
public void yourMethod(){
Console.WriteLine("It doesn't return anything");
}
Use void :)