Which among these access specifiers should be used for main() method?

a) private
b) public
c) protected
d) none of the mentioned

1 thought on “Which among these access specifiers should be used for main() method?”

  1. b
    Explanation: main() method must be specified public as it called by Csharp run time system outside of the program, by default main is private in nature if no access specifier is used.

Leave a Comment