Debug.Print vs. Debug.WriteLine

February 22, 2018 c# Leave a comment

Questions: What’s the difference between Debug.Print and Debug.WriteLine? The summary of both in MSDN is the same: Writes a message followed by a line terminator to the trace listeners in the Li...

Copy data from from IntPtr to IntPtr

February 22, 2018 c# Leave a comment

Questions: I have two IntPtr values pointing to some data areas of length bytes. length may have an order of magnitude of 200k to 400k. int length = /* ..*/ IntPtr ptrSrc = /*.. */; IntPtr ptrDst = /*...