views:

285

answers:

3

I have seen some code which uses the <= operator. Can you explain what is the use of having lambda in reverse direction?

+10  A: 

That's not a lambda at all. That's less than or equal to

David Hedlund
+14  A: 

That's just less than or equal. I don't think C# lambdas work like that. It's too early in the morning. You need coffee.

Dave Markle
yes i do need coffee. Some times this may happen.
+3  A: 

I think it is only used as 'smaller than or equal'. As in

if(i <= 5)
{
 // ..
}
Razzie