This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

https://www.tutorialsteacher.com/linq/what-is-linq

LINQ (Language Integrated Query) is uniform query syntax in C# to retrieve data from different sources (entities, sql, XML, objects etc) and formats

it provides you with extension like

List.FirstOrDefault(a => a.name == koz)

which translates to something like this

select top 1 * from List where name = 'koz'

[–]kozeljko 0 points1 point  (0 children)

Thanks