title: Curly brackets vs no curly brackets in lambda expression c#
body: <p>I am pretty new to C#, around 1 year experience. Recently got introduced to lambda expressions. I want to have an <code>Action&lt;string&gt;</code> which would display an Error with custom Error text to a MessageBox. I am wondering, what is the difference between: </p>
  
  <p><code>public static Action&lt;string&gt; Error = s =&gt; { MessageBox.Show(s, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); };</code></p>
  
  <p>and</p>
  
  <p><code>public static Action&lt;string&gt; Error = s =&gt; MessageBox.Show(s, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);</code></p>
  
  <p>Thanks for any helpful advises :)</p>