title: Dynamic string interpolation
body: <p>Can anyone help me with this?</p>
  
  <p>Required Output: "<em>Todo job for admin</em>"</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          Console.WriteLine(ReplaceMacro("{job.Name} job for admin", new Job { Id = 1, Name = "Todo", Description="Nothing" }));
          Console.ReadLine();
      }
  
      static string ReplaceMacro(string value, Job job)
      {
          return value; //Output should be "Todo job for admin"
      }
  }
  
  class Job
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public string Description { get; set; }
  }
  </code></pre>