I recently had a problem where my installed Visual Studio IDE just wouldn’t launch. Sometimes the startup screen would show up for an instant and then go away. Rebooting my PC didn’t help either. To solve it, I ran the Command prompt with Admin privileges and typed in the following. Running either one of these […]
Posts from March 2017
How to get values in a dictionary as a list in C#
If you have a dictionary with scalar entities, its is fairly straightforward to get either all the Keys or the Values as a list: Let’s say we have: Dictionary<string, string> MyDictionary To get all the keys as a list: MyDictionary.Keys.ToList() To get all the values as a list: MyDictionary.Values.ToList() If you have a case where […]