Created
February 5, 2017 13:01
-
-
Save mallibone/20940ff7d5f4bdcc78e5264ca670f546 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; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static int Increment(int number) | |
{ | |
return ++number; | |
} | |
public static void Main(string[] args) | |
{ | |
Console.WriteLine($"And the answer is {Increment(41)}"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment