I have two different Classes:
class X
{
public int TX1 { get; set; }
public string TX2 { get; set; }
public string OX1 { get; set; }
}
class Y
{
public int TY1 { get; set; }
public string TY2 { get; set; }
public string TY3 { get; set; }
public string OY1 { get; set; }
}
eg:
OX1 => 1,2,3,4
OY1 => 2,1
Now i need to check atleast one value match is found.
Suggest me some solution using LINQ.
1 Answer