Re: compare two structs via ==
- From: "Jon Skeet [C# MVP]" <skeet@xxxxxxxxx>
- Date: Tue, 05 Jun 2007 05:58:44 -0700
On Jun 5, 1:07 pm, cody <deutron...@xxxxxx> wrote:
I have create a Data access layer, something like DLinq.
I created a class Expression where operator== yields a new compound
expression:
public static Expression operator==(Expression a, Expression b)
{
return GenerateBinaryExpression("=", a, b);
}
Hmm. I can sort of see the benefit, but at the same time it feels
sufficiently unlike the *normal* meaning of == that I'd be loathe to
do something like that myself.
Jon
.
- References:
- Re: compare two structs via ==
- From: Mark Wilden
- Re: compare two structs via ==
- From: Göran Andersson
- Re: compare two structs via ==
- From: Mark Wilden
- Re: compare two structs via ==
- From: Göran Andersson
- Re: compare two structs via ==
- From: Mark Wilden
- Re: compare two structs via ==
- From: Göran Andersson
- Re: compare two structs via ==
- From: Jon Skeet [C# MVP]
- Re: compare two structs via ==
- From: cody
- Re: compare two structs via ==
- Prev by Date: Re: String builder
- Next by Date: Re: Newbie Q: Explain: string Name = dept.FindChairperson().Name
- Previous by thread: Re: compare two structs via ==
- Next by thread: Re: compare two structs via ==
- Index(es):
Relevant Pages
|