C# lambda expression reverse direction <=
I have seen some code which uses the <=
operator. Can you explain what is the use of having lambd开发者_开发技巧a in reverse direction?
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.
That's not a lambda at all. That's less than or equal to
(Except when it's actually a reverse lambda)
It is only used as 'less than or equal to' operation, as in:
if (i <= 5) {
// ...
}
精彩评论