exit called function in c# code example
Example: exit a method c#
private void Test(int condition)
{
if(condition)
return; // Exit the methode
// Here code if condition == false
}
private void Test(int condition)
{
if(condition)
return; // Exit the methode
// Here code if condition == false
}