.NET Fiddle

CSharp · Console

/Program.cs

public class MyClass
{
	public static void Main()
	{
		MyMethod(() => true);
	}
	
	public static void MyMethod(object o) { }
}
;