What is the difference between Equals and = in LINQ?
Posted
by sunpech
on Stack Overflow
See other posts from Stack Overflow
or by sunpech
Published on 2010-06-10T21:01:50Z
Indexed on
2010/06/10
21:12 UTC
Read the original article
Hit count: 187
What is the difference between Equals and = in LINQ?
Dim list As List(Of Foo) = (From a As Foo In FooList _
Join b As Bar In BarList _
On a.Something = b.Something _
Select a).ToList()
versus
Dim list As List(Of Foo) = (From a As Foo In FooList _
Join b As Bar In BarList _
On a.Something Equals b.Something _
Select a).ToList()
© Stack Overflow or respective owner