2
Answers

How can i pass parameters to functions via cmd windows?

black

black

16y
2.5k
1

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)