C
C#2y ago
artem

Is it ok to leave `NotImplementedException` if method doesn't suppose to be used?

I have class that implements interface with two methods Convert and ConvertBack. I use only Convert so I implemented it. Is it ok to leave it as it is now? Can it somehow backfire? Class link - https://github.com/Cootz/PasswordManager/pull/46/files#diff-52f61f5a8d524ef2eb720907cf622ef47d228591389cf4aebb09f85d7a493bed
2 Replies
reflectronic
reflectronic2y ago
yes, this is pretty standard
artem
artemOP2y ago
ok, thank you
Want results from more Discord servers?
Add your server