First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

stringbuilder

There are 1 entries for the tag stringbuilder

The importance of performance testing in a Windows Phone 7 application

A few months I described how I handled the encoding bug of the WebBrowser control in WP7. Unfortunately it was not just a problem with the “smart quotes” but also with all non western characters, and the naïve solution to the problem caused a performance problem. Let’s see how I solved it. The problem I needed a more general purpose character replacing procedure, like the second one I mentioned in the previous post: foreach (char value in strText) { int decValue = int.Parse(string.Format("{0:x4}", (int)value), ...