Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Last active June 19, 2019 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/3cabc3cb194f1009b7923f06ed208c4d to your computer and use it in GitHub Desktop.
Save gdyrrahitis/3cabc3cb194f1009b7923f06ed208c4d to your computer and use it in GitHub Desktop.
public int Method1()
{
int value = 10;
value = Method2(value);
return value;
}
public int Method2(int num)
{
num = num + 1;
return num;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment