07 Aug, 2007 · 1 minute read
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.
public void MyFunc() { Console.Write("My Function"); }
The cleanest blogging platform
2024 © Maxotek. All rights reserved.