0
我有这样的代码我检讨:如何才能找到从SQLite返回的<>类型的列表返回的第一个元素?
var phrases = db2
.Query<Phrase>("SELECT C.Id As CategoryId" +
" FROM Category AS C" +
" JOIN Phrase AS P ON C.Id = P.CategoryId");
短语的类型为List<Phrase>
现在我想找到列表中的第一个元素。但是,当我将鼠标悬停在“短语”上时使用我的IDE。在另一条线上,我看到的是获得.count .add .addRange .find和类似选项的选项。
有人可以解释我如何得到第一个元素?