Casting types inline
I'm still not clear on all the routes to this, and which one is best for readability. I'm trying to get
Here are a couple of ways I've tried:
Of course things could be nested deeper. Which is the best way (realise 'best' is ambiguous)
.Count from a child object of object sender. The Type hierarchy is:Here are a couple of ways I've tried:
Of course things could be nested deeper. Which is the best way (realise 'best' is ambiguous)