InterviewSolution
| 1. |
If A Method's Return Type Is Void, Can You Use A Return Keyword In The Method? |
|
Answer» Yes, Even though a method's return type is void, you can use the return keyword to stop the execution of the method as shown in the example below. using SYSTEM; Yes, Even though a method's return type is void, you can use the return keyword to stop the execution of the method as shown in the example below. using System; |
|