HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by akgoel | Hacker News Reader
Parent
Full thread
akgoel
·
Don't unsafe pointers in C# also opt you out of GC?
View on HN
matthewwarren
·
Yeah pretty much, you can use fixed [1], to access managed memory in an unsafe way. The GC then treats this as pinned and won't relocate it.
[1]
http://msdn.microsoft.com/en-gb/library/f58wzh21(v=vs.71).as...
Reply on news.ycombinator.com