Determine if a property is nullable reliably from a Type
In my current project, I need to check, for a given Type, if any of its properties is nullable. Nullable reference types is enabled in this solution so I want the result to show the property is nullable where the ? is appended to the type name. Let’s say we have some sample classes like these I … [Read more…]