public static string[] traitNames = { "Happiness", "Respect", "Authority" };
private ArrayList arraysNames = new ArrayList() { traitNames, suppliesNames };
string[] currentArrayNames = new string[] { arraysNames[i1] };//error message here
Error message: Cannot implicitly convert 'object' to 'string'. What can I do to make currentArrayNames = traitNames via. referencing it through arraysNames? Thanks! Note: I did not include suppliesNames, although it does exist, much similar to traitNames.
See Question&Answers more detail:os