Shorthand syntax for generic interfaces in C#
.net, c#
Solution
Yes, `?` is part of specification. You cannot create your own shortcuts like that.
4.1.10 Nullable types
A nullable type can represent all values of its underlying type plus an additional `null` value. A nullable type is written `T?`, where `T` is the underlying type. This syntax is shorthand for `System.Nullable<T>`, and the two forms can be used interchangeably.
Problem
`T?` is shorthand for `Nullable<T>` Eg: `int?` is shorthand for `Nullable<int>` Is shorthand syntax a part of the language specification? Are we allowed to create our own shorthand syntax for generic interfaces?