© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
10 replies
IamMax420

why is there "string[] args" inside the main function parentheses?

Hello, I've just started learning c# (after doing some c++) and I wonder why it's like that since we don't even use it inside the main function, like it's just there and I'd like to know why
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ what is string[] args?
C#CC# / help
3y ago
Regex - Match a string outside of the parentheses
C#CC# / help
2y ago
Why do we enclose the `Main` function inside of a class in C#?
C#CC# / help
2y ago
string inside a string
C#CC# / help
4y ago