Loginworks interview question

pattern,program,oops,basic c#,SQL