Can there be a function which doesn't return values ?
Is it mandatory to have return value for every function in c# ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sujeet SumanPosted Dec 18, 2015, 2:12 AM
MahaPosted Dec 18, 2015, 7:02 AM
There are many functions which doesn’t have return value.
No there is no mandatory to have return value.
I have developed same program with return and without return for curiosity.
Francis SusaimichaelPosted Dec 18, 2015, 6:29 AM
Rajesh SinghPosted Dec 18, 2015, 2:17 AM
Rajeesh MenothPosted Dec 17, 2015, 11:31 AM
Dharmesh SinghPosted Dec 17, 2015, 11:25 AM
Tapan DubeyPosted Dec 17, 2015, 11:06 AM