7 ways to improve code quality in c# using option type