2/20/09

Question mark

Not so long ago I started to observe some strange variable declarations in C#. That were quotation marks after type name.
bool? flag;

Goolge and yandex investigations gave nothing, but today I discovered what it means. Quotation mark changes non-nullable type to nullable. So simple :).

No comments:

Post a Comment