Top "Lambda" questions

DO NOT USE FOR THE AWS SERVICE (use [aws-lambda] for those questions!

Lambda Expression for join

public class CourseDetail { public CourseDetail(); public string CourseId { get; set; } public string CourseDescription { get; set; } public long CourseSer { get; set; } } …

c# lambda linq-to-objects
Using Func delegate with Async method

I am trying to use Func with Async Method. And I am getting an error. Cannot convert async lambda expression …

c# asynchronous lambda
Find() and First() throws exceptions, how to return null instead?

Is there a linq lambda search method that returns null, instead of throwing an exception, when searching a list? My …

c# .net linq lambda
How to debug stream().map(...) with lambda expressions?

In our project we are migrating to java 8 and we are testing the new features of it. On my project …

java debugging lambda java-8
Optional orElse Optional in Java

I've been working with the new Optional type in Java 8, and I've come across what seems like a common operation …

java lambda java-8 optional java-9
delegate keyword vs. lambda notation

Once it is compiled, is there a difference between: delegate { x = 0; } and () => { x = 0 } ?

c# .net delegates lambda anonymous-methods
New object instantiation when using Java 8 streams

Is there a differnce in using the following contstructs, other than slightly better readability in the latter? someList.stream().map(…

java lambda java-8 java-stream method-reference
Understanding Spliterator, Collector and Stream in Java 8

I am having trouble understanding the Stream interface in Java 8, especially where it has to do with the Spliterator and …

java lambda java-8 spliterator
Which is more preferable to use: lambda functions or nested functions ('def')?

I mostly use lambda functions but sometimes use nested functions that seem to provide the same behavior. Here are some …

python syntax function lambda
converting a .net Func<T> to a .net Expression<Func<T>>

Going from a lambda to an Expression is easy using a method call... public void GimmeExpression(Expression<Func<…

c# .net lambda expression func