+ 1
What is the meaning of void? Where and when we will use void in #c?
meaning of void
3 ответов
+ 3
use void as the return type for methods that do not return anything
0
Just easily memorize as void won't return any values back to you. For e.g. You declare a method with void, you won't get back any variables.