(12 XP) A function that returns how many times a letter appears in the string.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Checker.cs
. - Implement the method
GetNumberOfCharsInString(char letter, string str)
that returns how many times a letter appears in the string. - Run with
CTRL+F5
to test it. - If all tests are passed, commit & sync your repository.
- Send a link to your repository for Lab Master (in #slack) to check it.
GetNumberOfCharsInString('a', "Xamarin Lab") ➞ 3
GetNumberOfCharsInString('A', "AppsLab 2019") ➞ 1