Check out example codes for "what is a return statement C#". It will help you in understanding the concepts better.
Code Example 1
/*return (C# Reference)
The return statement terminates execution of the method in which it appears and
returns control to the calling method. It can also return an optional value. If
the method is a void type, the return statement can be omitted.*\
Learn ReactJs, React Native from akashmittal.com