kush

kush

  • NA
  • 1
  • 0

Parameter passing in public static void main method ???

Oct 14 2005 1:30 AM
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)