string[] arrTopics = {\"Health\", \"Science\", \"Politics\"};
I have an if statement like:
if (arrTopics.Count() != null) <
if (arrTopics.Count() != null)
Like the error says, int can never be null. I'd change the code to
int
if (arrTopics != null && arrTopics.Any())
Or even more efficient if you know arrTopics is an array and never null is
arrTopics.Length != 0