+ 1

can anyone please give more informations about the concept "void" ? and what is its benefits in our program ?

13th Oct 2018, 5:04 PM
Amr Boudj
Amr Boudj - avatar
2 Answers
+ 4
i see you have used return in your first c# code which returns a integer result back to the calling method when you use void you cant do this nothing is returned to the calling method
13th Oct 2018, 7:55 PM
D_Stark
D_Stark - avatar
13th Oct 2018, 5:22 PM
Ulisses Cruz
Ulisses Cruz - avatar