<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lambda Expressions on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/lambda-expressions/</link><description>Recent content in Lambda Expressions on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 01 Jul 2012 11:08:00 +0200</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/lambda-expressions/index.xml" rel="self" type="application/rss+xml"/><item><title>Strange error “argument type ‘lambda expression’ is not assignable to parameter type ‘string’”</title><link>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</link><pubDate>Sun, 01 Jul 2012 11:08:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</guid><description>&lt;p&gt;During playing with EF and LINQ I run in this UI-error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;argument type ‘lambda expression’ is not assignable to parameter type ‘string’
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="image_2.png"&gt;&lt;figure&gt;
 &lt;img src="http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/image_thumb.png" alt="image" loading="lazy" decoding="async" title="image"&gt;&lt;figcaption&gt;image&lt;/figcaption&gt;&lt;/figure&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Compiler themselves states:&lt;/p&gt;
&lt;p&gt;Cannot convert lambda expression to type &amp;lsquo;string&amp;rsquo; because it is not a delegate type.&lt;/p&gt;</description></item><item><title>Wie spricht man den Lambda-Operator aus?</title><link>http://blog.marko-apfel.de/posts/wie-spricht-man-den-lambda-operator-aus/</link><pubDate>Wed, 05 May 2010 09:27:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/wie-spricht-man-den-lambda-operator-aus/</guid><description>&lt;p&gt;Zur Aussprache des Lambda-Operators gibt es unterschiedliche Auffassungen.&lt;/p&gt;
&lt;p&gt;Im Englischen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Func f = x =&amp;gt; x * 2;
&lt;ul&gt;
&lt;li&gt;”x goes to x * 2”&lt;/li&gt;
&lt;li&gt;”x maps to x * 2”&lt;/li&gt;
&lt;li&gt;”x becomes x * 2”&lt;/li&gt;
&lt;li&gt;”x induces x * 2”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Func test = c =&amp;gt; c.City == &amp;ldquo;London&amp;rdquo;;
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;c for which c.City equals London&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Im Deutschen:&lt;/p&gt;</description></item></channel></rss>