I needed to an approximate count of the number of lines in a solution. Quicky and dirty solution is to use Powershell
Start by opening a command prompt and starting powershell (Just type powershell). Then enter the text below, but remember to replace "SolutionName" with an actual solution that you want to count the lines of Text.
cd SolutionName (dir -include *.cs -recurse | select-string .).Count
For anyone reading this, I have never used this as a metric. Powers that be wanted to know how big the solution is / was
Every day, thousands of innocent plants are killed by vegetarians.