Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anzhelika Gudkova #61

Open
wants to merge 3 commits into
base: Anzhelika_Gudkova
Choose a base branch
from
Open

Anzhelika Gudkova #61

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 7, 2019

No description provided.

@jskonst jskonst changed the base branch from master to Anzhelika_Gudkova December 9, 2019 05:34
}
else
{
Console.WriteLine("Age should be > 0 and < than 15");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Необходимо выбрасывать исключение в этом месте

}
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добавьте переопределение базового метода toString и возвращайте строковое значение, содержащее например имя и возраст

@jskonst
Copy link
Collaborator

jskonst commented Dec 16, 2019

@Gudkovaa 🔧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants