Finished Defining Property Getters & Setters

building_types
Jason Zhu 2021-02-22 03:34:13 +00:00
parent 1b64a1fa8b
commit 394a847465
1 changed files with 2 additions and 11 deletions

View File

@ -10,17 +10,8 @@ namespace GradeBook
private string name;
public string Name
{
get
{
return name;
}
set
{
if (!String.IsNullOrEmpty(value))
{
name = value;
}
}
get;
set;
}
public Book(string name)