In a previous article, I described how to use LINQ when parsing a textfile.
Following that train of thoughts further, I found a more elegant way of splitting the lines from the file into columns. Creating extension methods on top of IEnumerable<string> seems like a good idea! Something that could be used like this for a comma-separated file:
from columns in reader.AsEnumerable().AsDelimited(delimiter)
Continue reading “More parsing textfiles with LINQ”
In my previous article about keyboards shortcuts I promised a follow-up.
Well, here it is:
Many of the keyboard shortcuts in Visual Studio are chords. This means that the shortcut is actually a sequence of keypresses. Continue reading “Your second handfull of VS2008 Shortcuts”
Reading and parsing files is really no difficult task with the .NET framework. The System.IO namespace has several good classes to aid that task. Continue reading “Parsing textfiles with LINQ (or LINQ-to-TextReader)”
When teaching programming, I tend to do a lot of live coding. Coding in front of a live audience is special, and I take special care to try to do it right the first time, and also do it as quickly as possible at the same time. Continue reading “Your first handfull of VS2008 keyboard shortcuts”
“Arjan calling world, Arjan calling world!
World, can you read me?”
Welcome to my blog!
A big thanks to Jarle for helping me set this up. Now it’s up to me to actually fill this space with something interesting.