Use ILDASM to decompile your .DLL / .EXE.
I just use the options to reset everything, and you get a .IL file with a "Custom string" section:
User Strings ------------------------------------------------------- 70000001 : (14) L"Starting up..." 7000001f : (12) L"progressBar1" 70000039 : (21) L"$this.BackgroundImage" 70000065 : (10) L"$this.Icon" 7000007b : ( 6) L"Splash"
Now, if you want to know how many times a particular string is used. Search for "ldstr" as follows:
IL_003c: ldstr "Starting up..."
I think it will be much easier to parse as C #.
source share