{"id":18572775,"url":"https://github.com/truecodersio/method-overloading-exercise-","last_synced_at":"2025-05-16T09:05:24.932Z","repository":{"id":62047309,"uuid":"533563525","full_name":"truecodersio/Method-Overloading-Exercise-","owner":"truecodersio","description":".NET 6.0 template project for the Method Overloading exercise at TrueCoders","archived":false,"fork":false,"pushed_at":"2025-03-28T18:10:13.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":396,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T05:11:15.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truecodersio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-07T01:46:25.000Z","updated_at":"2025-03-28T18:10:18.000Z","dependencies_parsed_at":"2022-10-25T17:00:50.776Z","dependency_job_id":null,"html_url":"https://github.com/truecodersio/Method-Overloading-Exercise-","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FMethod-Overloading-Exercise-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FMethod-Overloading-Exercise-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FMethod-Overloading-Exercise-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FMethod-Overloading-Exercise-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truecodersio","download_url":"https://codeload.github.com/truecodersio/Method-Overloading-Exercise-/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501557,"owners_count":22081528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:07:11.853Z","updated_at":"2025-05-16T09:05:19.923Z","avatar_url":"https://github.com/truecodersio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exercise 1:\n\n+ Create a method named Add, that accepts two integers and returns the sum of those two integers\n+ Now create an overload of the Add method to account for being able to add two decimals together\n+ Now create another overload of the Add method that returns a string and accepts 3 parameters: 2 integers and 1 boolean\n+ If the boolean parameter is equal to true, the Add method will return the sum of the 2 numbers plus the word “dollars” at the end of the string.\n+ You must also account for the appropriate grammar of the string - so it can’t be “1 dollars”\n\nFor example:\n```\n“5 dollars”\n\n\"1 dollar”\n\n“16 dollars”\n```\n\n[Teacher's Answer](https://drive.google.com/file/d/1eXswxCDzGSArtbqcSoVeB9Tnl-NMzhqz/view)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fmethod-overloading-exercise-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruecodersio%2Fmethod-overloading-exercise-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fmethod-overloading-exercise-/lists"}