Geeks With Blogs


Locations of visitors to this page

View ► Sanjay Uttam []'s profile on LinkedIn

Add to Google Reader or Homepage

Sanjay Uttam Predominantly .NET October 2009 Entries
Adventures in WF 3.0/3.5
Until redesign of WF 4.0 is completed & released, I’m going to have to put up with this. I’ve been working some WF stuff the past few days. One of the very annoying things about working with the VS designer environment is, well, frankly – the designer. It’s entirely inconsistent. Sometimes, when I need to add a normal property (not a dependency property) – doing things the normal way gets me there. In other words, I add this code to the activity code: public int MyProperty { get; set; } and in ......

Posted On Thursday, October 22, 2009 5:18 PM

Get the index of a given item using LINQ [quick-tip]
UPDATE: Please see first comment to do this the "safe" way... It took a bit for me to get comfortable enough with LINQ-to-objects to write ‘queries’ off the top of my head…but once you’re used to it you realize it’s much more concise, easier to interpret/read, and’s less code. Here are some real quick examples… This first example selects the string array value as well as its position from the someItems array. Note, the user of new{} creates a new generic type that has the properties ItemName ......

Posted On Thursday, October 15, 2009 5:06 PM

Copyright © Sanjay Uttam | Powered by: