J
JeffM
Hello all-
I'm pretty new here (and to C#) and am hoping you can help.
The title pretty much says it all...
I am doing some API testing would like to be able to pick up the
arguemnts for my method calls from a text file instead of putting them
in the code.
Here is an example of what I'm trying to do:
public void myMethod(int i, int j, string s)
{...}
I would like to send the arguemnts from a text file, where each line is
a call to the method.
EG. The text file looks something like:
12, 15, joe
07, 64, fred
etc.
Any suggestions or sample code hugely appreciated.
Thanks in advance,
Jeff
I'm pretty new here (and to C#) and am hoping you can help.
The title pretty much says it all...
I am doing some API testing would like to be able to pick up the
arguemnts for my method calls from a text file instead of putting them
in the code.
Here is an example of what I'm trying to do:
public void myMethod(int i, int j, string s)
{...}
I would like to send the arguemnts from a text file, where each line is
a call to the method.
EG. The text file looks something like:
12, 15, joe
07, 64, fred
etc.
Any suggestions or sample code hugely appreciated.
Thanks in advance,
Jeff