What are the ways to Exit a method without Exiting a program.

 Posted by vishalneeraj-24503 on 12/1/2014 | Category: Visual Studio Interview questions | Views: 1467 | Points: 40

There are 2 ways:-
1). Use the return keyword inside any condition and,
2). Throw an exception.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response