they both allow any object to be null and that’s usually a headache whenever a null exception shows up.
C# has nullable reference types now: learn.microsoft.com/en-us/…/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you’ll get build warnings if you try to use a variable that’s potentially null.