Skip to content

Instantly share code, notes, and snippets.

@ernestohs
Last active July 4, 2025 20:33
Show Gist options
  • Save ernestohs/647ee6add3adda798b505ba9f5601ce0 to your computer and use it in GitHub Desktop.
Save ernestohs/647ee6add3adda798b505ba9f5601ce0 to your computer and use it in GitHub Desktop.
public int AddTwoIfNumberIsTwo(int number) {
if (number == 2)
{
number += 2;
}
return number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment