-
-
Save nicholascloud/03df074c0ff5ffb5c7305516cdd3d3fe to your computer and use it in GitHub Desktop.
TechJobsConsoleJobData FindbyValue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<Dictionary<string, string>> FindbyValue(string searchTerm) | |
{ | |
LoadData(); | |
List<Dictionary<string, string>> jobs = new List<Dictionary<string, string>>(); | |
foreach (Dictionary<string, string> row in AllJobs) | |
if (row.ContainsValue(searchTerm)) | |
{ | |
jobs.Add(row); | |
} | |
return jobs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment