<p>Is there a way to pass null arguments to C# methods (something like null arguments in c++)?</p>

<p>For example:</p>

<p>Is it possible to translate the following c++ function to C# method:</p>

<pre><code>private void Example(int* arg1, int* arg2)
{
    if(arg1 == null)
    {
        //do something
    }
    if(arg2 == null)
    {
        //do something else
    }
}
</code></pre>

From C# 2.0:
```
```
private void Example(int? arg1, int? arg2)
{
    if(arg1 == null)
    {
        //do something
    }
    if(arg2 == null)
    {
        //do something else
    }
}
```
```