PIbd-31_Danilov_V_V_COP-30/Components/Person.cs

17 lines
273 B
C#
Raw Permalink Normal View History

2024-09-20 08:33:51 +04:00
namespace Components.Object
{
public class Person
{
public string Name { get; set; }
public int Age { get; set; }
2024-10-03 21:07:20 +04:00
public string Email { get; set; }
2024-09-20 08:33:51 +04:00
2024-10-03 21:07:20 +04:00
public Person(string name, int age, string email)
2024-09-20 08:33:51 +04:00
{
Name = name;
Age = age;
2024-10-03 21:07:20 +04:00
Email = email;
2024-09-20 08:33:51 +04:00
}
}
}