Hai My problem is I have 2 list of generic objects
List<plan> previousYear;
List<plan> Nextyear;
and I need to get the difference between them in a custom way
for eg:
public class plan{
int budget;
int expense;
int savings
}
List<plan> previousYear = new List<plan>() { new plan ( 100, 200, 300 ),
new plan( 400, 500, 600 ) };
List<plan> nextYear = new List<plan>() { new plan ( 200, 200, 300 ),
new plan ( 400, 600, 700 ) };
After applying difference I Need to get result like
First object First property changed to 200
Second object second property changed to 600
Second object third pr0perty changed to 700
I would like to get the above result in a list.
I don't know the data structures and methods(like linq) to be used for solving this problem