I am 90% sure I saw this answer on stackoverflow before, in fact I had never seen the \"int?\" syntax before seeing it here, but no matter how I search I can\'t find the pre
the symbol ? after the int means that it can be nullable.
The ? symbol is usually used in situations whereby the variable can accept a null or an integer or alternatively, return an integer or null.
Hope the context of usage helps. In this way you are not restricted to solely dealing with integers.