|
|
|
|
|
by skeezyjefferson
227 days ago
|
|
> In your sample there really is no benefit to using the "is" operator over just checking for null Microsoft give the same example though. I understand what hes saying, theres conceptual overlap between is and ==. Many ways to do the same thing. Why couldnt it just be... if (obj == string s) { ... } |
|