© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•8mo ago•
10 replies
jd

Why is program a class

I’m coming from C and I did the hello world tutorial. Now I am looking at other code and a lot of them have a static void main within a program class. Is this necessary? I didn’t see this within the tutorial
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

✅ Making a chess program. Why is this happening?
C#CC# / help
2y ago
✅ Visio for C# class program
C#CC# / help
2y ago
my program is being recognized as a virus and idk why
C#CC# / help
3y ago
Why `where T: class`
C#CC# / help
2y ago