What is meant by un-safe code


By un-safe code, it means that the managed program can access the memory address using pointers. There are two points to remember here;

  • Un-safe code is different from un-managed as it is still managed by the CLR
  • You still can not perform pointer arithmetic in un-safe code.
Advertisements

Thanks a lot for visiting this site .. Please leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s