If there is something I understand least of in programming, it's accessing arrays. Does anyone know why this won't work? I can't find the answer anywhere. What I'm basically trying to do is take the months that have 30 days and perform a math problem, but I can't seem to access the array. 'month' is a string. It is giving me the error: Operator '==' cannot be applied to operands of type 'string' and 'string[]. Not sure what that means. I've looked for the error, googled it and whatnot but I can't find any answers anywhere. I appreciate any help.
string[] months30 = new string[4] { "September", "April", "June", "November" };
if (month == months30)
{
}