Consider i execute a method \'Method1\' in C#. Once the execution goes into the method i check few condition and if any of them is false, then the execution of Method1 shou
You could setup a guard clause with a return statement:
public void Method1(){ bool isOK = false; if(!isOK) return; // <- guard clause // code here will not execute... }