Skip to content

Instantly share code, notes, and snippets.

@PatrickMcDonald
Created September 13, 2013 09:17
Show Gist options
  • Save PatrickMcDonald/6548406 to your computer and use it in GitHub Desktop.
Save PatrickMcDonald/6548406 to your computer and use it in GitHub Desktop.
namespace PostFix
{
internal class Program
{
private static void Main(string[] args)
{
int i = 1;
F(i++, i); // 1,2
int j = 1;
F(j, j++); // 1,1
System.Console.ReadKey(true);
}
private static void F(int a, int b)
{
System.Console.WriteLine("{0},{1}", a, b);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment