The Nullable Parameter

Overview

I found this .Net feature at work. Of course, I'm not going to disclose the codes, but I'll go through the concept of the nullable parameter.

Code Inspection

I found this nullable parameter link that explains what the ? symbol means when creating a method. To go through a code:

private void OpenForm(decimal x, decimal? y, object z)
{}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License