Created
September 15, 2016 06:30
-
-
Save Xhendos/a734a871b70ae141be891ca354ce0a15 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
class Program | |
{ | |
static void addNumbers(int a, int b, out int i) | |
{ | |
i = a + b; | |
} | |
static void Main() | |
{ | |
int value; | |
addNumbers(23, 25, out value); | |
Console.WriteLine(value); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment