How to allow unsafe code in visual studio 2010 c#

For many reason we have to use unsafe code like in pointer in dotnet framework , Visual studio cant build the project unless the allow unsafe code option enabled. To enable this option select ur project name solution explorer click right mousebutton go to the properties like below Now Click the build tab and check the allow unsafe code option. like below Now u can compile unsafe code as much as u wish. thank u

Advertisements

About kishordgupta

A software developer
This entry was posted in C#, F SHARP, Winform app and tagged , , , , , , , , , . Bookmark the permalink.

One Response to How to allow unsafe code in visual studio 2010 c#

  1. Anonymous says:

    thx man…..much needed demo…looking for it from ages …..thanks

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s