So as this dynamic nonsense continues, there is a sticking point to how much fun I can have. The wall? Anonymous types and generic declarations. Here’s the old: Func<User, Int32> selectUserID = currentUser => currentUser.UserID; Great if I want to select userIDs, but what if I want UserIDs AND UserNames… Easy right? userList.Select(currentUser => new [...]
Archive | Lessons
RSS feed for this section
I ain’t gettin’ paid enough for this…
Remember when I said I’m not exactly great with programming terms? Well if I didn’t, I am saying it now. So I saw the word “closures” today and had no idea what this was. All excited about something new, I found out that closures is just another word for anonymous methods, although it may include [...]