App Interfaces C#

https://www.codecademy.com/courses/learn-c-sharp/projects/csharp-app-interfaces

I am unsure of the last step of this project (C# App Interfaces). Specifically, the step at which I need to add a setter that accepts only password with at least 8 characters. How do we do that? Do I just add the lines:

private string Password{
get {return value;}
set {
if(!String.IsNullOrEmpty(value)&&value.Length>=8){
Password=value;
}else{
Console.WriteLine(“Password must be at least 8 characters long”);
}
}
}