I'm writing an image view program in C# for .NET CF, and at the moment I'm trying to implement command line args, so that the program can be associated with image files and can open them upon double clicking.
I've tried
String[] args = Environment.GetCommandLineArgs();, but it gives this error:
'System.Environment' does not contain a definition for 'GetCommandLineArgs'
Any thoughts?