© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
how to write method outside the main method in the program class? - C#
C
C#
•
2y ago
•
7 replies
eid
how to write method outside the main method in the program class?
in the non program
-main style
, how i can write method outside the main method in the program class
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Method declaration, outside Main Vs inside main
C
C# / help
14mo ago
How do I close console app outside of the Main method?
C
C# / help
3y ago
❔ How does the main method work?
C
C# / help
3y ago
❔ ✅ How to store a method's variable to main method?
C
C# / help
3y ago