Declaring Persons with Constructor [closed]

You can’t declare an int as null. You can make it nullable though by doing it a nullable int like this:

public int? age;

Leave a Comment