I make an console app, this app is reading csv files using linq to load every line of the file into an IEnumerable. 

```
var lines = from rawLine in File.ReadLines(readFolderFile, Encoding.Default) where !string.IsNullOrEmpty(rawLine) && !string.IsNullOrEmpty(rawLine.Trim(';')) select rawLine;

```

Now I need to check how many semicolon every line compared to the first line has and if a line has more semicolon than the first one it will be added to an errorList.

So my question is there any easy way to just count the amount of an specific symbol per line?

The outcome should be that I can say, after my source file is proceed with this app, that every row has the identical amount of columns.