FieldsCollection fields = new FieldsCollection(); List<String> columns = new List<String>(); FieldsCollection query = (from f in fields join c in coluns on f.value equals c select new Field(){ Key = f.key, Alias = f.Alias }).Cast<FieldsCollection>();
FieldsCollection query = new FieldsCollection (); (from f in fields join c in columns on f.value equals c select new Field() { Key = f.key, Alias = f.Alias }).ToList().ForEach(k => query.Add(k));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)