mercredi 25 mai 2016

Check if integer == null

I want to check if my Listentry = null but I don't know how.

Note: ID is a Integer

Here is my Code

if(MeineGaeste[i].ID !=null)
{
    i++;
}
else
{
    MeinGast.ID = i++;
    test = false;
}

Aucun commentaire:

Enregistrer un commentaire