Do I learn how to use a dictionary today, or just make a long, gross switch/case statement?
-
-
-
Replying to @regentoforigin
@kingoforigin I think that may be the way to go1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles In general I love dictionaries/hashmaps, so they're my go to solution. (I also rarely if ever use switch/case statements).3 replies 0 retweets 0 likes -
Replying to @regentoforigin
@kingoforigin and the sample from MS uses a dictionary, but for a string and a solidColorBrush1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles Oh, that's definitely a dictionary solution.1 reply 0 retweets 0 likes -
Replying to @regentoforigin
@kingoforigin I guess I need to figure out the value to use then, (ie - Instead of SolidColorBrush, an image)2 replies 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles Depending on your implementation, you can store the image object itself, or just the source of the image. If you need multiple1 reply 0 retweets 0 likes
@kingoforigin I would store the image locally, (in my case, in VS), in the user's case within the app's package itself
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.