title: How to get ParameterInfo Value?
body: <p>I am using the below code to get Calling Method name and its parameter inside a method.</p>
  
  <pre><code>var stackTrace = new StackTrace();
  var methodName = stackTrace.GetFrame(1).GetMethod().Name;
  var parameters = stackTrace.GetFrame(1).GetMethod().GetParameters();
  
  foreach (var parameterInfo in parameters)
  {
      var name = parameterInfo.Name;
      var value = "How to get value?";
  }
  </code></pre>
  
  <p>Now my question is to get the value of that parameter. 
  Any ideas?</p>