No announcements
Found 2559841 threads
-
0 Votes
Lambda Expression in C#
; } But it isn't working, I don't know how to use Lambda Expression to get the DomainDataSource's Type. Can ...Answered | 3 Replies | 3925 Views | Created by fabriciofrontarolli - Monday, September 27, 2010 1:37 PM | Last reply by cjinojl - Sunday, October 3, 2010 11:06 AM -
0 Votes
[FxCop] Lambda expression parameter naming
I'm using VS2010 and FxCop Integrator 1.4.0. My rule checks the naming of parameter (for example Must begin with prefix 'p') but I want to exclude lambda ...Answered | 6 Replies | 5668 Views | Created by Josh Alan - Thursday, November 10, 2011 2:11 PM | Last reply by Josh Alan - Monday, November 14, 2011 3:37 PM -
1 Votes
Lambda expression confusion
Maybe it would help to look at the code written without a lambda: using System; namespace ConsoleApplication56 { class Program ...Answered | 5 Replies | 3970 Views | Created by DragSelect - Thursday, December 10, 2009 9:57 PM | Last reply by DragSelect - Friday, December 11, 2009 6:23 PM -
0 Votes
CTP4 - Include with lambda expression
message is this one : Cannot convert lambda expression to type 'string' because it is not a delegate type Thanks ...Answered | 2 Replies | 5072 Views | Created by stephane.julien - Thursday, November 18, 2010 4:44 PM | Last reply by stephane.julien - Tuesday, November 23, 2010 12:45 PM -
2 Votes
Lambda Expression Condition
Hi, I have a class which has two properties ProcessType and TotalTime, now I need to write a lambda expression to sum up the total time for process type. ...Answered | 2 Replies | 2822 Views | Created by Raghul.ms.varma - Wednesday, February 29, 2012 1:59 PM | Last reply by Adavesh - Wednesday, February 29, 2012 2:17 PM -
0 Votes
Test for nothing within lambda expression
. Is there any way to test for existence within the lambda expression and avoid the error? If it doesn't exist, the boolean should be ...Answered | 2 Replies | 457 Views | Created by Eregnon the Black - Monday, August 8, 2016 6:58 PM | Last reply by Viorel_ - Tuesday, August 9, 2016 5:29 AM -
0 Votes
LAMBDA vs LINQ expression
db.Destinations ...Answered | 1 Replies | 5024 Views | Created by Sarel j - Monday, October 6, 2008 7:23 PM | Last reply by Matt Warren - MSFT - Monday, October 6, 2008 11:30 PM -
2 Votes
Lambda expression / c# conversion
I guess it is, then the problem is in the next part of my code, but I wasn't sure about that lambda, thank you for fast reply. I should probably make a new thread. PleaseAnswered | 3 Replies | 191 Views | Created by Tehnay - Monday, February 12, 2018 1:52 PM | Last reply by Kareninstructor - Monday, February 12, 2018 3:12 PM -
1 Votes
Lambda compile error using generic list 'Add' method.
return Expression.Lambda<LateBoundVoid>(Answered | 2 Replies | 3596 Views | Created by Werner Clausen - Wednesday, June 17, 2009 1:42 PM | Last reply by Werner Clausen - Wednesday, June 17, 2009 2:32 PM -
0 Votes
Lambda expression with ForEach question
Actually, anything you do in your action delegate (lambda expression or member method) is operating on a local variable, you'd have to call methods on thatAnswered | 3 Replies | 12460 Views | Created by nologin - Wednesday, April 30, 2008 8:16 PM | Last reply by Peter Ritchie - Wednesday, April 30, 2008 8:39 PM -
0 Votes
Lambda expression as method parameter
Every time I think I begin to comprehend the idea of lambda expressions in C# programming, I am proven wrong. "The Lambda ...Answered | 3 Replies | 556 Views | Created by Jon Q Jacobs - Friday, March 13, 2020 5:11 PM | Last reply by Jon Q Jacobs - Friday, March 13, 2020 6:13 PM -
0 Votes
Dynamic lambda expression construction
Thanks for the reply. Could you suggest a better way to achieve what i am trying to do? I cannot use a pre-built lambda expression, because I first ...Answered | 17 Replies | 4476 Views | Created by ArunNair - Friday, September 10, 2010 12:11 PM | Last reply by Louis.fr - Saturday, September 11, 2010 3:38 PM -
0 Votes
Problem to create an "Expression.And" lambda expression
lambda declaration" error when the Lambda constructor is called. this is weird, because the equals1, equals2 and andexpression seems well formed to ...Answered | 1 Replies | 36329 Views | Created by Bombinosh - Thursday, October 2, 2008 9:54 AM | Last reply by Bombinosh - Friday, October 3, 2008 11:53 AM -
1 Votes
Error using OrderBy with lambda expression
able to maintain the descending sort on the result set. Hi Fernando, thanks for the explanation about the error, it makes sense to me now. What you have written ...Answered | 7 Replies | 6780 Views | Created by jabberpunch - Tuesday, June 21, 2011 9:37 PM | Last reply by Fernando Soto - MCSD - Thursday, June 23, 2011 2:15 AM -
0 Votes
Using generic types to enable lambda expressions to perform different functions based on parameter types
;... already contains a definition for 'v' Error 2 "Ambiguity between ...'v' and ...'v' Alternatively, I tried to declare the lamdbda expression ...Answered | 5 Replies | 7716 Views | Created by Evan Ermes - Tuesday, October 5, 2010 6:34 PM | Last reply by Evan Ermes - Friday, October 8, 2010 2:59 PM -
0 Votes
Min operator with lambda expression
s.SalaryAmount; it works fine but when i convert above mentioned query in lambda expression exception is thrown , "At least one object must implement ...Answered | 2 Replies | 6594 Views | Created by zeeshanasghar - Tuesday, April 12, 2011 7:55 AM | Last reply by Syed Mehroz Alam - Wednesday, April 13, 2011 9:18 AM -
1 Votes
Simple Lambda Expression Trouble
System.Collections.Generics.IEnumerable<long> to long. I get what the error wants I just don't understand why the Lambda doesn't return a ...Answered | 5 Replies | 1148 Views | Created by zzpluralza - Wednesday, February 1, 2012 2:14 PM | Last reply by zzpluralza - Wednesday, February 1, 2012 2:36 PM -
1 Votes
Lambda Expression Type Conversion
I'm trying to build a RESTful API and I've hit a snag. I'm getting type Conversion Error in Lambda Expression. Here's my Code using ...Answered | 2 Replies | 216 Views | Created by Karanke - Monday, December 17, 2018 11:42 PM | Last reply by Karanke - Monday, December 17, 2018 11:56 PM -
0 Votes
Lambda expression in DisplayMemberBinding
I don't know if this is how you're supposed to do it, but this worked. Thanks for pointing me in the right direction. I created the GridColumns like ...Answered | 3 Replies | 4685 Views | Created by Phil Boakes - Thursday, June 10, 2010 3:39 PM | Last reply by Phil Boakes - Thursday, June 10, 2010 5:45 PM -
1 Votes
Using lambda expression in TreeView
hello, Can you show me how to for-loop Node in TreenodeCollection by lambda expression ? Thanks for your ...Answered | 4 Replies | 3237 Views | Created by Dang Vinh Cuong - Thursday, October 18, 2012 3:03 PM | Last reply by Dang Vinh Cuong - Friday, October 26, 2012 3:37 AM
No announcements