1.

Should I Use Unsafe Code In C#?

Answer»

In C#, pointer is really used and Microsoft disengaged to use it. But there are some situations that REQUIRE pointer. We can use pointer if required at our own risk. Some sonorous are given bellow:

  • To deal with existing structures on disk
  • Some advanced COM or Platform Invoke scenarios that involve pointer
  • To performance CRITICAL codes

In C#, pointer is really used and Microsoft disengaged to use it. But there are some situations that require pointer. We can use pointer if required at our own risk. Some sonorous are given bellow:



Discussion

No Comment Found