23 lines
422 B
C#
23 lines
422 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WinFormsLibrary1.Models
|
|
{
|
|
public class Human
|
|
{
|
|
public string Name { get; set; }
|
|
public string Surname { get; set; }
|
|
public int Age { get; set; }
|
|
public Human() { }
|
|
public Human(string name, string surname, int age)
|
|
{
|
|
Name = name;
|
|
Surname = surname;
|
|
Age = age;
|
|
}
|
|
}
|
|
}
|