Hi,
I am trying to pass the Args variable of the Main to another method in the class like that :
static void Main(string[] Args)
{
ParseArguments(Args);
}
private void ParseArguments(string[] aArgs)
{
MessageBox.Show("parse");
}
But I'm getting that error when compiling : "An object reference is required for the nonstatic field, method, or property."
How can I pass the Args to another method?
Thanks
Daniel
I am trying to pass the Args variable of the Main to another method in the class like that :
static void Main(string[] Args)
{
ParseArguments(Args);
}
private void ParseArguments(string[] aArgs)
{
MessageBox.Show("parse");
}
But I'm getting that error when compiling : "An object reference is required for the nonstatic field, method, or property."
How can I pass the Args to another method?
Thanks
Daniel