: int? int, (nullable) C#

18:03:2013 г.

, int?. , int, .

nullale int C#:

public static int? ParseNullableInt(string parseString)
{
    int resultInt;
    if (int.TryParse(parseString, out resultInt))
      return resultInt;
    returnnull;
}

 





« DateTime ToString() C#  - Can not access a nonstatic member of outer type via nested type »

fotic.jpg