↧
Answer by janos for Finite state machine for CSV data
So my question is this: is this block at the end some sort of anti-pattern, and is it something that's going to come back to bite me in the future?Not necessarily.It depends on whether line can contain...
View ArticleFinite state machine for CSV data
I want to read a file containing comma-separated values, so have written a finite state machine:private IList<string> Split(string line){ List<string> values = new List<string>();...
View Article