Tuesday, August 30, 2016

Using c# if debug

If you want to hide some of your code for production you can use the #if the statements. This allows you to do testing and not affect your production code. See the example below for more information.

#if Debug

//Code goes in this spot

#endif

No comments: