Y
Hacker News
new
|
ask
|
show
|
jobs
by
charliesome
4895 days ago
C# has pointers (although you're rarely going to use them)
2 comments
mmorett
4895 days ago
You'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.
link
jff
4895 days ago
You're right on the rarely using them part, I don't think I used a single one. Thanks for the clarification!
link
charliesome
4895 days ago
The 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.
link
This analogy is proving more accurate as I read thru the comments.