Can anyone tell me if there a way to see if an action contains any code?
Action x = new Action(()=>
{
});
should return false, while
Action x = new Action(()=>
{
var x = "i am a string"
});
should return true.
Perhaps using reflection?