3 ms·
You probably won't be doing pointer arithmetic in C#. It's been about 5 years since I wrote any C#, but I don't remember any... mostly I remember it as a Java c
by jff 14y ago
You probably won't be doing pointer arithmetic in C#. It's been about 5 years since I wrote any C#, but I don't remember any... mostly I remember it as a Java clone, which would preclude pointer arithmetic.
- charliesome 14y agoC# has pointers (although you're rarely going to use them)
- jff 14y agoYou're right on the rarely using them part, I don't think I used a single one. Thanks for the clarification!
- charliesome 14y agoThe only time I've ever used them is to speed up drawing. Bitmap.SetPixel is super slow compared to taking a pointer to the raw image data and writing there directly.
- mmorett 14y agoYou're rarely going to use them...so let's ask a candidate about them. This analogy is proving more accurate as I read thru the comments.