pftq.com
Here you will find 42 ways to entertain yourself . . .

CSharp Notes and Pitfalls

Things not to do and things to remember about C#...



Just notes and things I want to remember when I'm coding C#.  Sometimes these things take hours to catch when the fix is simple, if you knew about them in advance.

RichTextBox.Text - do not update in a background thread even if each thread has its own RichTextBox (building multiple control objects in parallel, for example).  This will cause a memory corruption error and either cause your program to crash or hang every so often (which makes it even harder to notice).
Share on Blogger Share on Twitter Share on Facebook Share on Pinterest Share on LinkedIn Share on Google+
311 unique view(s)

Added on Dec 05, 2012 | Last Updated Dec 05, 2012

Leave a Comment

Name: (Have an account? Login or Register)
Email: (Optional, Won't be published)
Website: (Optional)
Comment:
Enter the code from image: