-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathProgram.cs
More file actions
31 lines (26 loc) · 775 Bytes
/
Program.cs
File metadata and controls
31 lines (26 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using Prototype.Resumes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prototype
{
public static class Program
{
public static void Main(string[] args)
{
var resume = new Resume("Bryan");
resume.SetPersonalInfo("男", "28");
resume.SetWorkExperience("1998-2000", "XX公司");
var resume2 = (Resume)resume.Clone();
resume2.SetWorkExperience("1998-2006", "YY公司");
var resume3 = (Resume)resume.Clone();
resume3.SetPersonalInfo("男", "25");
resume.Display();
resume2.Display();
resume3.Display();
Console.Read();
}
}
}