Last active
February 1, 2024 10:52
-
-
Save soheil-moonesi/e216bae54f4f8dcba3dd5e0afbb7b11a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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