26 lines
509 B
C#
26 lines
509 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TestApp
|
|
{
|
|
public class Worker
|
|
{
|
|
public string name;
|
|
public string department;
|
|
public int workYears;
|
|
|
|
public Worker(string name, string department, int workYears)
|
|
{
|
|
this.name = name;
|
|
this.department = department;
|
|
this.workYears = workYears;
|
|
}
|
|
|
|
public Worker()
|
|
{ }
|
|
}
|
|
}
|