How can I do this:
void Func(IntPtr p = IntPtr.Zero)
{
}
This is throwing an error:
Default Parameter value of 'p' must be a compile-time constant.
Since somebody marked this as a duplicate question, the other question's answer are about setting it to "default" while I wanted it to be set to IntPtr.Zero.
Thank you