Reads in a sequence of text files specified as the first command-line
arguments, concatenates them, and writes the results to the file
specified as the last command-line argument. The code demonstrates
.NET's using statements and Stream I/O classes. If a single file name
is provided, the file is rewritten using its content (unchanged).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void MainTest(
string[] args
)
Parameters
- args
- Type: SystemString
Place holder for user arguments
See Also