Tag Archives: null

Use nullable parameters in C#

This example shows how you can use nullable parameters to simulate optional parameters. The example Use null to simulate optional parameters in C# explains how you can pass null to a method to simulate optional parameters, but that only works … Continue reading

Posted in OOP, syntax | Tagged , , , , , , , , , , | Leave a comment

Use null to simulate optional parameters in C#

This example shows how you can use null to simulate optional parameters in older versions of C#. The example Use overloaded methods to simulate optional parameters in C# shows how you can use overloaded methods to simulate optional parameters. Another … Continue reading

Posted in OOP, syntax | Tagged , , , , , , , , , , | 1 Comment