What’s the difference between ‘int?’ and ‘int’ in C#?

int? is shorthand for Nullable<int>.

This may be the post you were looking for.

Leave a Comment