Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ProjetoTeste
- {
- public static class Helper
- {
- public static bool VerificaIdadeDeRisco(int idade)
- {
- if (idade >= 18)
- {
- return false;
- }
- else
- {
- return true;
- }
- }
- public static bool VerificaNomeDeRisco(string nome)
- {
- if (nome == "corona")
- {
- return true;
- }
- else
- {
- return false;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement