Sto se tice tutorijala dok sam cekao na vase odgovore nasao sam na microsoftovom sajtu dobre tutorijale. Nasao sam i ovo:
Code:
// arguments: A B C D
using System;
public class Hello3
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++)
{
Console.WriteLine("{0}", args[i]);
}
}
}
Ovo bi trebalo da izgleda ovako:
Hello, World!
You entered the following 4 command line arguments:
A
B
C
D
Medjutim meni izgleda ovako:
Hello, World!
You entered the following 0 command line arguments:
kako bi zapravo trebao da ide kod?