-1
インデックスを持つ動的オブジェクトにアクセスすることは可能ですか?Linqの動的オブジェクト
は、ここに私のコードです:
var Participants = Newtonsoft.Json.JsonConvert.DeserializeObject<List<dynamic>>(obj.ToString()).AsQueryable();
var query = from p in Participants
where p[2] == "Yes" // I need to access to the 2nd column
select
列名は動的である、しかし、私は2番目の1でテストする必要があります。何か案は ?
http://stackoverflow.com/questions/18734996/how-to-use-linq-with-dynamic-collections –
しかし、列名も変わっていますが、私の意見は分かりましたか? – user1187282
plz help私はそれを動作させることができません – user1187282