title: How to use Messagebox in class library c#?
body: <p>How to use MessageBox in class library?</p>
  
  <p>Here is my code</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace MessageBoxes
  {
      class ShowInfo
      {
          MessageBox.Show("test");
      }
  }
  </code></pre>
  
  <p>i can load MessageBox but can't have show property, MessageBox.Show("test"); &lt;-- fail</p>