title: How can i creat a generic method for this calling statement using C#
body: <p>Is there any way of creating a generic method for this calling statement using C#</p>
  
  <pre><code>string a = Program.GenericTester(walter =&gt; walter.GetDetails(), dog);//calling statement
  Console.WriteLine("Result A: {0}", a);
  int b = Program.GenericTester(snowball =&gt; snowball.Age, cat);
  Console.WriteLine("Result B: {0}", b);
  </code></pre>