|
-
Jun 24th, 2009, 07:33 AM
#4
Thread Starter
Frenzied Member
Re: Lambda expression question
Perhaps it is helpful if I describe generally what I try to do
Imagine you have a List<Car>
the class car is described like this
class car
{
String brand;
int year;
double price;
}
Now Imagine that I have 20 cars in my list. And now I want to create a lambda expression that set the price of all cars with brand=="Volvo" to 4000.
This is the same thing as I try to do above.
I tried btw to replace the m_ShowCleared with a string like "Foo" but I get the same error. I thhink the expression is written with some other error.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|