Check out example codes for "exit a method c#". It will help you in understanding the concepts better.

Code Example 1

private void Test(int condition)
{
  if(condition)
    return; // Exit the methode

  // Here code if condition == false
}

Learn ReactJs, React Native from akashmittal.com