Ordinarily, code within a method executes from beginning to endliterally. However, when a return statement is reached, execution immediately returns to the statement that made the method call; you can force execution to leave the method at any time by using a return statement. If Visual C# encounters a return statement, the method terminates immediately, and code returns to the statement that called the method. |