Should you use pointers (unsafe code) in C#?

后端 未结 11 2462
既然无缘
既然无缘 2020-12-05 02:15

Should you use pointers in your C# code? What are the benefits? Is it recommend by The Man (Microsoft)?

11条回答
  •  粉色の甜心
    2020-12-05 02:20

    course it isn't "recommended", that's why it's labeled "unsafe". But don't let that scare you away. Although, it should make you look twice at your code. Perhaps there is a managed way to do it?

提交回复
热议问题