0

C# Methods

As I am learning C# I am now in in Methods So what is the use of voids as it is not printed and I am not able to understand anything in the method Lessons. So any tips? :C

11th Aug 2018, 7:49 AM
Rohit Singh
Rohit Singh - avatar
2 Antworten
+ 5
the use of a void method is to excecute code and not return a value afterwards, however other methods do return a value
11th Aug 2018, 8:02 AM
Mootin Man
Mootin Man - avatar
+ 1
oh thank you
11th Aug 2018, 9:48 AM
Rohit Singh
Rohit Singh - avatar