Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example of DRY #108

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -2380,7 +2380,7 @@ Getting the abstraction right is critical, that's why you should follow the SOLI
```csharp
public List<EmployeeData> ShowDeveloperList(Developers developers)
{
foreach (var developers in developer)
foreach (var developer in developers)
{
var expectedSalary = developer.CalculateExpectedSalary();
var experience = developer.GetExperience();
Expand Down Expand Up @@ -2421,9 +2421,9 @@ public List<EmployeeData> ShowList(Employee employees)
{
foreach (var employee in employees)
{
var expectedSalary = employees.CalculateExpectedSalary();
var experience = employees.GetExperience();
var githubLink = employees.GetGithubLink();
var expectedSalary = employee.CalculateExpectedSalary();
var experience = employee.GetExperience();
var githubLink = employee.GetGithubLink();
var data =
new[] {
expectedSalary,
Expand Down