Im having issues with this project as well.
Specifically this part
Add a method ChangePassword() to PasswordManager. It should:
have two string parameters
if the first argument matches the existing Password, reset the Password to the second argument
return true if the password change was a success (the first argument matched the old password), and false otherwise
In passwordmanager.cs my change password code is this:
public bool ChangePassword(string oldPass, string nuPass)
Im calling it with and trying to print the boolean result with in program.cs
Console.WriteLine("Passsword change is: ", passSuccess);
I get the following error:
Program.cs(20,24): error CS0120: An object reference is required for the non-static field, method, or property 'PasswordManager.ChangePassword(string, string)' [/home/ccuser/workspace/learn-csharp-interfaces-inheritance-app-interfaces/SavingInterface.csproj]
The build failed. Fix the build errors and run again.
Im at a loss on how to fix this. Can anybody help me? Thank you in advance.