Category Archives: Development

How to iterate a C# dictionary

The following snippet shows an easy way to iterate a C# dictionary: Dictionary<int, string> dictionary = new Dictionary<int, string>(); dictionary.Add(1, "Cat"); dictionary.Add(2, "Dog"); dictionary.Add(3, "Horse"); foreach (var item in dictionary) { // do stuff with item Console.WriteLine(string.Format("{0} – {1}", item.Key, … Continue reading

Posted in .NET | Tagged , , | Comments Off

Debugging gac assemblies

Every now and then somebody says to me: I just added my assembly to the gac and now I can’t debug my code anymore The fact is that debugging gac assemblies is quite easy when you know how to do … Continue reading

Posted in Development | Tagged , , , | Comments Off

Use random data in WebTest

Usually my WebTests are coded WebTests, but sometimes the plain WebTest can do the job a lot faster. My biggest problem working with plain WebTests, is that all the input to my forms are the recorded values. In some of … Continue reading

Posted in Development, Test Automation | Tagged , , | Comments Off