How to create a modeless dialog box within a C# console app
<p>I want to create a <strong>modeless dialog box</strong> with below code.
However, the form seems not responding after creation.
I guess the message loop may be blocked if I create it in this way.
Anyone knows how to create it in the correct way?</p>

<pre><code>class Program
{
    static void Main(string[] args)
    {
        Form form = new Form();
        form.Show();
        Console.ReadLine();
    }
}
</code></pre>