@xavierverse
@natmiletic
askToProm function may internally use a Dictionary<string, Person> to fetch the actual Hannah Person instance.
And if this c#, You can actually compare Hannah.answer == “yes” if Hannah.answer is string.
The design of class interaction is horrible, but it may work in some cases.