C# Line Reader

Sometimes I'll get a text file to parse, where it's too big or too complex for a spreadsheet, and not worth the trouble of importing to a database. Here's a quick way to parse the file line-by-line with C#

Here's the same thing in NodeJS - personally I think the C# way is a little easier, especially since .NET Core and the dotnet CLI came out.

View code on GitHub

Comments

Popular posts from this blog

DotNet CLI

Switch Expressions

sp_executesql