black

black

  • NA
  • 5
  • 0

How can i pass parameters to functions via cmd windows?

Mar 10 2008 10:06 PM

fun1(string str1,string str2)

{

}

fun2(int a,string str)

{

}

static void Main()

{

//what should i do in here when i want to pass parameters to functions via cmd windows? like : (c:\exam.exe fun1 abc cde) or (c:\exam.exe fun2 100 abc)

}

Thanks.


Answers (2)