Horje
exit a method c# Code Example
exit a method c#
private void Test(int condition)
{
  if(condition)
    return; // Exit the methode

  // Here code if condition == false
}




Csharp

Related
unity deactivate all colliders of a gameobject Code Example unity deactivate all colliders of a gameobject Code Example
c# how to exit program Code Example c# how to exit program Code Example
find the max number in an array c# Code Example find the max number in an array c# Code Example
c# textbox get focus Code Example c# textbox get focus Code Example
c# console beep sounds Code Example c# console beep sounds Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8