-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDonorRecord.cs
More file actions
42 lines (37 loc) · 1.17 KB
/
DonorRecord.cs
File metadata and controls
42 lines (37 loc) · 1.17 KB
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
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserInterfaceFormProcessor
{
class DonorRecord
{
// Class Parameters
public string FirstName { get; set; }
public string LastName { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string City { get; set; }
public string State { get; set; }
public int ZipCode { get; set; }
public string[] Donors { get; set; }
public DonorRecord()
{
// Class Constructor
}
public DonorRecord(string firstName, string lastName, string address1, string address2,
string city, string state, int zipCode)
{
FirstName = firstName;
LastName = lastName;
Address1 = address1;
Address2 = address2;
City = city;
State = state;
ZipCode = zipCode;
Donors.Append(FirstName + ',' + LastName + ',' + Address1 + ',' + Address2 + ',' + City + ',' +
State + ',' + ZipCode);
}
}
}