Hi friends,
I want to know that, can we execute a program without main() in .NET ?
thank you
Main function in .net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted May 24, 2012, 9:56 PM EDT
But the ASP.Net application are web pages where it can run independently without any main function. But if the web page have any dependency then it will not load.