i want to create a namespace but after compiling it shows the following error
Error 1 Program 'D:\Visual Studio 2008\Projects\namespace1\namespace1\obj\Debug\name space1.exe' does not contain a static 'Main' method suitable for an entry point namespace1
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace mynamespace { public class program { public static void display() { Console.WriteLine("From mynamespace.test-----hello world"); } } }