I have converted dll to exe and build then it shows error exe does not contains static main method suitable for an entry point : <pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace abc
{
    public class Class1
    {
        public void display()
        {
            Console.WriteLine("Hallo");

        }
        public static void main(string[] args)
        {
            Class1 obj = new Class1();
            obj.display();
        }
    }
}
</code></pre>

<p>I have created one static method and called in main method to check how dll converted to exe work .</p>
