Question: The program must be written in C++; not C, C#, etc.
The program should use I/O redirection to accept a file defined by the user which is a data set containing an unknown number of integers. The integers should be stored in an array, and printed to an output file - also defined by the user through redirection.
Describe the terms in detail. Use c# language to solve this problem.