IS null == null true?

null is nothing but internal Pointer with value zero. So it is comparing two references having value zero. In fact object. ReferenceEquals(null, null) is always true because of this fact so you do not need the second check.

Sizin İçin Seçtik  How do you check for null?

Leave a Reply

Your email address will not be published. Required fields are marked *