Created
May 7, 2015 13:08
-
-
Save josephwoodward/c5530a35eff30b98f0d3 to your computer and use it in GitHub Desktop.
This file contains 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
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
var myClass = new ExpressionTest(); | |
// Ambig. | |
myClass.TestMethod(myExpression1:x => x.ToString()); | |
//myClass.TestMethod(); | |
} | |
} | |
public class ExpressionTest | |
{ | |
public void TestMethod(Expression<Action<int>> myExpression1) | |
{ | |
} | |
public void TestMethod(Action<int> myExpression2) | |
{ | |
} | |
/*public void TestMethod(Action myExpression) | |
{ | |
}*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment