using System.Collections.Generic;
public static void Main()
dynamic line = new ExpandoObject();
var fields = new List<string>() { "Cidade", "Cep", "Uf", "Cliente", "Cnpj", "Filial", "Algum" };
var dicLine = (IDictionary<string, object>)line;
if (dicLine.ContainsKey(f))
Console.WriteLine("line.Cep=" + line.Cep);