Visual Studio 2015 has a Analyze->'Calculate Code Metrics' menu item which helpfully provides lines of code (LOC) and Cyclomatic complexity metrics for projects, classes and methods.
It also has a handy 'Open List in Microsoft Excel' button; handy if you have Excel anyway. Is there any way to export the data as a CSV file when Excel isn't installed?