Skip to main content

Use Short Notation

Converts an explicit form of a nullable type reference (e.g. “Nullable<int>”) to its short form (e.g. “int?”).

#Availability

Available from the context menu or via shortcuts:

  • when the cursor is on an explicit form reference to the nullable type.

#Notes

#Examples

Nullable <int> a = null;
Dim a As Nullable (Of Integer) = Nothing

Result:

int? a = null;
Dim a As Integer? = Nothing

#Screenshot

rsUseShortNotation