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
Loading
MykoninePosted Oct 15, 2005, 5:43 PM
args[0] I believe is always the path of the executable.