I'm trying to do it this way, but I get this error "Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'string[]'. An explicit conversion exists (are you missing a cast?)"
How can I cast this correctly, or is there a better way to do this?
string[] text = {"abc", "def", "ghi", "?", "jkl", "?"};
text = text.Where(x => x.Equals("?"));