4 ms·
Really? C:\Users\andrewj\Desktop>type test.cs public static class Test { public static void Main(string[] args) { forea
by ajanuary 14y ago
Really?
C:\Users\andrewj\Desktop>type test.cs
public static class Test {
public static void Main(string[] args) {
foreach (string arg in args) {
System.Console.WriteLine(arg);
}
}
}
C:\Users\andrewj\Desktop>csc test.cs
C:\Users\andrewj\Desktop>test.exe a b "C:\Program Files (x86)" d e
a
b
C:\Program Files (x86)
d
e
Do you mean "language x" on .NET?
- niggler 14y agoVB.NET shows the behavior with Class Test Public Shared Sub Main() Console.WriteLine("GetCommandLineArgs: {0}", String.Join(", ", Environment.GetCommandLineArgs())) End Sub End Class