Code Inspection: Convert Nullable of T to 'T?'
Language Usage Opportunities | |
| |
| |
Language | C# |
No |
In C#, it is not necessary to use the full Nullable<T>
type name because the language allows you to write T?
instead. Consequently, ReSharper offers the option to replace the long type name with the shorthand.
Last modified: 15 April 2024