2
I need to compare 2 lists of objects that were populated via database, as classes below:
public class Ausente
{
public ObjectId Id { get; set; }
public Int32 RA { get; set; }
}
public class AlunoEstagio
{
public ObjectId Id { get; set; }
public Int32 RA { get; set; }
public String ALUNO { get; set; }
public Int32 PERIODO { get; set; }
public String DISCIPLINA { get; set; }
public char CONCEITO { get; set; }
}
List 1 will receive the Missing object, list 2 will receive the Student Stage object.
I would like to compare the 2 lists so that when there is a List 1 RA attribute present in List 2, the corresponding List 2 object is added in a third list (List 3).
I have no idea how to make this comparison, could help me?
What have you done? What problems have you encountered? Show some code, at least try to do something so we can help with your difficulty.
– Maniero