It's a rudiment from C++ days, where you could accidentally assign variable by using =
instead of ==
and it would still pass the compiler cause you could pass almost anything into comparisons in C++.
Do not use it in C#, cause it will not allow you to do so.
Valid C++:
if (p = NULL) // p gets assigned NULL and result is compared to 0
Invalid C#:
if (p = null) // can only use booleans in test