excelFilesNames is a array of string and there is more than 1 value in excelFilesNames.
While printing oVariableName[2] value it prints "system.string". i want to print all values of excelFilesNames by assigning it to oVariableName[2].
the code is below
Object[] oVariableName = new object[3];
oVariableName[2] = excelFilesNames;
MessageBox.Show(oVariableName[2].ToString());
MessageBox.Show(excelFilesNames[2]);?