How to identify the changes in 2 lists in LINQ?

Wan 1 Reputation point
2022-11-29T13:29:02.027+00:00

265282-image.png

Hello,

I have a list which consists of 3 fields, Prov., Start Date and End Date. I would like to identify the changes. The highlight in yellow are the changes. How can I do this in LINQ in C#? e.g. one "Ontario" row is deleted and "Quebec" row is added. And all "Ontario" rows' start date have changed.

Please advise. Your help would be greatly appreciated!

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,627 questions
{count} votes