1
Answer

Parameter passing in public static void main method ???

kush

kush

19y
4.5k
1
Hi there.. am writing a middleware application. and having some trouble to pass parameters in the public static void main (String[] args) method.

can anyone help me please ??

static void Main(string[] args)
{
string pathInfo;
pathInfo = "C:\\Kush\\ConsoleApplication1\\bin\\Debug";
BuilderProject.Build bp = new BuilderProject.Build(pathInfo);
}

i need to pass the pathInfo in the static void main function as this console app is being called through the command line.

help plz

kush28
Answers (1)