Tag: LINQ

Entity Framework – Linq vs Extension Methods (Example)

This article presents a simple example of querying with Linq and Extension Methods in Entity Framework (EF). To set the EF, create a C# Console application. Then add the Package Manager Console from Tools: Then run Install-Package EntityFramework in the Package

Tagged with: , , ,

C# – LINQ – Remove duplicates from a list and ignore values from another list

My idea for the blog was to post some articles every now and then. But at least, I am trying to keep up to a schedule of minimum 1 article per week, to keep it alive. Thus, I have decided

Tagged with: , , , ,

C# – LINQ – Example for LINQ initialization

Lately I am interested in C# again and thus I have taken a deeper look at LINQ (Language Integrated Query). My previous article, concerning it was here. I thought it was interesting, that the value in LINQ is calculated after

Tagged with: ,

C# – LINQ, ForEach, Classes, Override

Some 2.5 years ago I have first written an article for LINQ, when I was learning it. Now, I was watching at some videos about algorithms and I realized I have not used LINQ in quite a while and I have

Tagged with: , ,

C# – Defining Classes – SoftUni Homework

Some time ago I wrote a homework, concerning building classes. The easiest part of it looked like this as a task: Define a class Person that has name, age and email. The name and age are mandatory. The email is optional.

Tagged with: , ,
Top