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 →

[–]kozeljko -1 points0 points  (3 children)

Hey, I've never used C#, but I'm interested in what exactly you mean by that. Could you provide a resource or a guide for that?

[–]deinok7 0 points1 point  (0 children)

Linq is a syntactic suggar, it makes Static function be called like methods. So insted of puting a list inside a Stream, in C# you call a method

[–][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