Main() and command-line arguments

When building console applications that take parameters, you can use the arguments passed to Main(string[] args).
What would be a simple way to do something like example.exe --username=drpadawan --password=dontstealmypasswordplease.

I have looked at some nuget packages but I feel it must be possible without a third party package.
Was this page helpful?