Skip to content

Instantly share code, notes, and snippets.

@soheil-moonesi
Last active February 1, 2024 10:52
Show Gist options
  • Select an option

  • Save soheil-moonesi/e216bae54f4f8dcba3dd5e0afbb7b11a to your computer and use it in GitHub Desktop.

Select an option

Save soheil-moonesi/e216bae54f4f8dcba3dd5e0afbb7b11a to your computer and use it in GitHub Desktop.
class Program
{
static void Main()
{
MathHelperExe();
}
public static class MathHelper
{
public static int Add(int a, int b)
{
return a + b;
}
}
static void MathHelperExe()
{
int result = MathHelper.Add(2, 3);
Console.WriteLine(result);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment