What is meaning of this code static void Main(string[] args) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is meaning of this code static void Main(string[] args)

Please help me I don't know what meaning of this

8th Jan 2023, 4:40 PM
clip maker
clip maker - avatar
4 Answers
+ 2
Hello there, static void Main(string[] args) is basically just the 'main' method, and is where you write all of your code. It is the point where our program start execution and every application has the method Main in it. It is the starting point of every program which is why is it 'static' void means there is no return type Hope that makes sense
8th Jan 2023, 5:21 PM
Hassanah
Hassanah - avatar
+ 3
Take a look at the below link: https://www.geeksforgeeks.org/main-method-in-c-sharp/ It explains it much better and in much more depth than I did.
8th Jan 2023, 5:23 PM
Hassanah
Hassanah - avatar
+ 2
Thank you man God bless you 🙂
8th Jan 2023, 5:31 PM
clip maker
clip maker - avatar
+ 1
No problem clip maker, happy to help!
8th Jan 2023, 5:59 PM
Hassanah
Hassanah - avatar