I have several text files being read in to my program which are all being split into separate arrays, is there anyway to label the arrays so that the user can select one to view the contents. So if the user wanted to view dateData then is there anyway to label it?
static void Main(string[] args)
{
string[] dayData = File.ReadAllLines("Day.txt");
string[] dateData = File.ReadAllLines("Date.txt");
string[] sh1CloseData = File.ReadAllLines("SH1_Close.txt");
string[] sh1DiffData = File.ReadAllLines("SH1_Diff.txt");
string[] sh1OpenData = File.ReadAllLines("SH1_Open.txt");
string[] sh1VolumeData = File.ReadAllLines("SH1_Volume.txt");
}
Sorry, I'm very new to C#. Thanks.