C Claire Feb 6, 2005 #1 If values are sent as parameters to an application on run, how do you read them back in visual studio c# .net please?
If values are sent as parameters to an application on run, how do you read them back in visual studio c# .net please?
M Michael Nedzelsky Feb 6, 2005 #2 Is it a console application? Do you mean Command Line Parameters? If so, use the Main method, which get parameters at start time. public static void Main(string[] args)
Is it a console application? Do you mean Command Line Parameters? If so, use the Main method, which get parameters at start time. public static void Main(string[] args)
S Sean Hederman Feb 6, 2005 #3 Claire said: If values are sent as parameters to an application on run, how do you read them back in visual studio c# .net please? Click to expand... From MSDN: The Main method can use arguments, in which case, it takes one of the following forms: static int Main(string[] args) static void Main(string[] args)
Claire said: If values are sent as parameters to an application on run, how do you read them back in visual studio c# .net please? Click to expand... From MSDN: The Main method can use arguments, in which case, it takes one of the following forms: static int Main(string[] args) static void Main(string[] args)