Hi,i'm buliding an application which accepts new password when their exists a default password
savedPassword = (Application.UserAppDataRegistry.GetValue("newpassword")) ? Application.UserAppDataRegistry.GetValue("newpassword").ToString() : "defaultPassword";
but i'm getting an error it says cannnot convert objet to bool..i think theirs something wrong in ternary operator.
Thanx.:)