Default Return type of functions in C#
August 8th, 2007
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"); } |

What is really happening here? ,