How to compare two columns in same data table

I want to select rows from datatable if value of two different columns were same.
My data table looks like this
image

Desired output will be two different datatables. One should contains all the matched one and another data table should should contain unmatched ones

Matched (Name1=Name2)
image

Unmatched (Name1≠ Name2)
image

Please help me to solve this. Its bit urgent.

@deepakshaw1991
give a try on following:

Use Assign activity
Left side: dtFiltered
Right side:

(From d in YourDataTableVar.AsEnumerable
Where Not d(0).toString.Trim.Equals( d(1).toString.Trim)
Select d).CopyToDataTable

For getting the rows where bith names are the same use:

(From d in YourDataTableVar.AsEnumerable
Where d(0).toString.Trim.Equals( d(1).toString.Trim)
Select d).CopyToDataTable

Handling the empty result can be done with following pattern:

Thanks for such a quick response.

I am able to complete the first portion. But unable to understand the “Handling the empty result” portion. It will really be helpful if you please share the workflow.

Thanks in advance.