Skip to content

DisplayNameFormatterOptions.UseQuestionMarksForNullableTypes Property ​

Definition ​

Whether question marks should be used to identify nullable types or not, that is, int? instead of Nullable<T>. Defaults to true.

c#
public bool UseQuestionMarksForNullableTypes { get; init; }

View source

Property Value ​

Boolean