What happens to Console.WriteLine calls in Xamarin.iOS release builds?
<p>When developing iOS apps using XCode, you can use NSLog calls to write information to the console for debugging. In Xamarin.iOS, the same can be done with Console.WriteLine.</p>

<p>When running a release build of an app, without the debugger attached, these calls serve no purpose. So I've thought of excluding them with pre-processor directives:</p>

<pre><code>#if DEBUG
Console.WriteLine("foo");
#endif
</code></pre>

<p>So that the calls don't even exist in the release build. I appreciate this may be micro-optimisation - but I'm curious if Xamairn already does this, making this unnecessary?</p>