R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which class provides access to the command-line arguments?

  • (A) System.CommandLine
  • (B) System.Args
  • (C) System.Environment
  • (D) System.Diagnostics

Explanation by: Ram Sharma
`System.Environment.GetCommandLineArgs()` returns command-line arguments as a string array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.