Tag: static
-
The ‘Maya’ of static
What if you want to implement main() function in the program. What should be the syntax? public static void main( string[] args) is the customary declaration of main() function followed by its definition. Why to declare main() function static? The reason is that there is only one main() method in a particular class and it… Read.
