App Interfaces C#

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 {
Console.WriteLine(“Password must be at least 8 characters long”);