pftq.com
Welcome! Please Login or Register!
December 04, 2024, 06:34:04 PM
Home Login Register
pftq Forums  |  Main  |  Blabberbox  |  42  |  CSharp Notes and Pitfalls 0 Members and 1 Guest are viewing this topic. « previous next »
Latest News!Lunar Trigger(Aug 27, 2023)
Pages: [1] Print
Author Topic: CSharp Notes and Pitfalls  (Read 1057 times)
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« on: December 05, 2012, 05:35:37 PM »

<h2>Things not to do and things to remember about C#...</h2>

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).
Logged
Pages: [1] Print 
pftq Forums  |  Main  |  Blabberbox  |  42  |  CSharp Notes and Pitfalls « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | RSS Feed Valid XHTML 1.0! Valid CSS!
Page created in 0.103 seconds with 22 queries.