title: Convert Expression<Func<T, bool>> to String and vice versa In c#
body: <p>I want to convert <code>Expression&lt;Func&lt;Loan, bool&gt;&gt;</code> To string and vice versa. can I do it? how can implement <code>ConvertStringToExpression</code> method?</p>
  
  <pre><code>internal class Program
  {
      public class Loan
      {
          public bool IsActive { get; set; }
      }
  
      private static void Main(string[] args)
      {
          Expression&lt;Func&lt;Loan, bool&gt;&gt; expression = l =&gt; !l.IsActive;
  
          var expStr = ConvertExpressionToString(expression);
  
          var exp = ConvertStringToExpression(expStr);
      }
  
      public static string ConvertExpressionToString(Expression&lt;Func&lt;Loan, bool&gt;&gt; expression)
      {
          //return ???
          throw new NotImplementedException();
      }
  
      public static string ConvertStringToExpression(string expression)
      {
          //return ???
          throw new NotImplementedException();
      }
  }
  </code></pre>