This code is throwing and error 'cannot implicitly convert type void to object'
dynamic disruption1 = new ExpandoObject();
disruption1.locationsAffected = new string[] { "london", "panama" };
IEnumerable<dynamic> disruptionList = new List<dynamic>().Add(disruption1);
But I am not sure what is wrong, I also tried
dynamic disruptionList = new List<dynamic>().Add(disruption1);
and it doesn't throw the error but is not what I need.
I am creating a unit test.