<p>How do I determine if an object reference is null in C# w/o throwing an exception if it is null?</p>

<p>i.e. If I have a class reference being passed in and I don't know if it is null or not.</p>

```
```
(YourObject != Null)
```
```
you can compare to null?
If it's null instead of throwing an exception you can initialize your object. You can use the Null Pattern.