How can we find Sequence of Items in two different array (same Type) in the same order using linq query?

How can we find Sequence of Items in two different array (same Type) in the same order using linq query?

Public void MatchSequenceLinq()
{
    Var wordsA = {"Rahul","ashok","sweta"};
    Var wordsB = {"rahul","ashok","sweta"};
    var match = wordsA.SequenceEqual(wordsB);
    Console.WriteLine("The sequences match: {0}", match);
}

Output: True
Differentiate between Conversion Operator “IEnumerable” and “ToDictionary” of linq.
IEnumerable and To Dictionary both are Conversion Operator which are used to solved to conversion type Problems......
Advantage of LINQ over stored procedures
Advantage of LINQ over stored procedures - Type Safety-linq has no default type ......
List out the Data Context Functions. Where do we use “SubmitChanges()”?
List out the Data Context Functions. Where do we use “SubmitChanges()”?
Post your comment