|
|
От: | homa_brut | |
| Дата: | 21.11.03 04:41 | ||
| Оценка: |
|
||
class Employee
{
private string fullName;
public Employee(string fullName)
{
this.fullName = fullName;
}
static void Main(string[] args)
{
Employee emp = new Employee("Mary");
Console.WriteLine(emp.fullName);
emp.fullName = "Anna";
Console.WriteLine(emp.fullName);
}
}Mary
Anna
Press any key to continue