For the starting method like this:
static void main()
Does it matter if "main" has a lowercase "m"? or does it have to be capitalized?
For the starting method like this:
static void main()
Does it matter if "main" has a lowercase "m"? or does it have to be capitalized?
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
Pradeep ShetRank #595 · 4K reputationPosted Sep 13, 2014, 12:23 AM EDT
static void Main(string[] args)
{}
VulpesRank #55 · 29.2K reputationPosted Sep 12, 2014, 6:04 AM EDT
C# is a case-sensitive language.
Wim SturkenboomRank #2,527 · 554 reputationPosted Sep 12, 2014, 11:18 PM EDT
Just for your information, in C (also case sensitive), it was main with a lowercase 'm'.
Chisato N8 reputationPosted Sep 18, 2014, 1:18 PM EDT
I was just unsure because VS never seem to correct me on that.