from http://www.jaggersoft.com/pubs/StructsVsClasses.htm
Jon Jagger jon@jaggersoft.com C# struct/class Differences struct Direct { //… } class InDirect { //… } Events are locked? Exist on stack or heap? Can cause garbage collection? Meaning of [...]
from http://www.yoda.arachsys.com/csharp/stringbuilder.html
One of the first pieces of efficiency advice most .NET developers learn is “use StringBuilder to concatenate strings”. A little bit like “exceptions are expensive” this is a misunderstood piece of received wisdom. (Fortunately it’s not nearly as harmful as the exception performance myth, but it comes up about as often…)
[...]
When doing the window form application assignment, just find out that after MessageBox::Show, the window form will lose its focus.
Reason:
Member name Description ServiceNotification The message box is displayed on the active desktop. DefaultDesktopOnly The message box is displayed on the active desktop. RightAlign The message box text is right-aligned. RtlReading Specifies [...]
-
Articles
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
-
Meta