make a main method in .net project code example Example: c# main method static void Main(string[] args) { //... }