tag:blogger.com,1999:blog-6038034264692630628.post8416707441653512697..comments2023-04-11T14:28:06.126+02:00Comments on NOtherDev: Lookup - .NET's hidden gemAdam Barhttp://www.blogger.com/profile/16605796098913600806noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6038034264692630628.post-55311629682253772742018-01-10T17:51:44.429+01:002018-01-10T17:51:44.429+01:00greatgreatfor ict 99https://www.blogger.com/profile/01234222908168002434noreply@blogger.comtag:blogger.com,1999:blog-6038034264692630628.post-64036682077939852522014-10-09T07:22:55.823+02:002014-10-09T07:22:55.823+02:00You can use .Any()You can use .Any()Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6038034264692630628.post-60061946087077441732014-04-16T13:15:33.257+02:002014-04-16T13:15:33.257+02:00"Isn't it beautiful?"
No."Isn't it beautiful?"<br /><br />No.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6038034264692630628.post-51465548520410612242014-04-01T18:13:23.130+02:002014-04-01T18:13:23.130+02:00Immutability is a plus :)
Shame there's no imm...Immutability is a plus :)<br />Shame there's no immutable BCL collection for 1-1 key-value mappings<br />There's pros and cons of the non-nullable collection<br /><br />Instead of <br /> if (x.ContainsKey(y)) { ... }<br />you have to do<br /> if (x[y].Count() > 0) { ... }<br /><br />which is further from the semantic of what the code's doing.<br /><br />?nac03https://www.blogger.com/profile/09916011758863009535noreply@blogger.com