"E G" <eg****@irvineco.comschrieb im Newsbeitrag
news:%2***************@TK2MSFTNGP03.phx.gbl...
I'm developing a C# app that monitors the data feed for a single stock.
I want to start multiple instances of app dynamically passing the stock
symbols to instances as they start up. Any ideas on how I can do this?
To use command line parameters declare the Main method of your application
with a parameter of type string[].
static void Main(string[] params)
{
.....
}
This parameter will contain the command line parameters.
To set them, when starting from the IDE, you can set them in the property
page of the project under Debugging.
Christof