Count Keywords Occurance in a Directory
I searched google for a Word Counter, I wanted to read in files in a directory and output the number of times that word occurs in those files. So I created this command line application that takes an input file of keywords and then searches for those keywords in the local directory and prints out the "File - Keyword - Number of occurances". I wrote this years ago, today I would have probably written it as a PowerShell script =) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Text.RegularExpressions; namespace CountKeywords { class Program { public static void Main(string[] args) { List<string> Keywords = new List<string>(); Stream...