title: How to do multiline lambda expressions in f#?
body: <p>How would I do this (C#) in F#</p>
  
  <pre><code>public class MyClass
  {
      void Render(TextWriter textWriter)
      {
          Tag(() =&gt;
                  {
                      textWriter.WriteLine("line 1");
                      textWriter.WriteLine("line 2");
                  });
          Tag(value =&gt;
                  {
                      textWriter.WriteLine("line 1");
                      textWriter.WriteLine(value);
                  }, "a");
      }
  
      public void Tag(Action action)
      {
          action();
      }
      public void Tag&lt;T&gt;(Action&lt;T&gt; action, T t)
      {
      action(t);
      }
  }
  </code></pre>