Finished Defining Property Getters & Setters

This commit is contained in:
jason.zhu 2021-02-22 03:34:13 +00:00
parent fc7844c6bc
commit fe0727fb03

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)