Skip to content
Arjans blog

Arjans blog

Arjan: Technical Learnings of Programmings for Make Benefit Glorious Framework of .NET

Tag: LINQ

Posted on July 13, 2009November 17, 2014

Traverse a hierarchical structure with LINQ-to-Hierarchical

RecentIy I needed to find a specific TreeNode in a TreeView control. I expected that would be easy with LINQ, but quickly realized that there is no method in the .NET framework that will let me traverse all nodes of a hierarchy. I decided to create one myself. Continue reading “Traverse a hierarchical structure with LINQ-to-Hierarchical”

Posted on June 27, 2009August 27, 2009

The trouble with delimited

In this previous article articles about parsing files, I took a very simplistic approach to reading a delimited file. I used string.Split, which doesn’t handle the use of quotes and usage of the delimiter character inside quotes.

Well, it turns out theres more to reading a delimited file than splitting at the delimiter… Continue reading “The trouble with delimited”

Posted on March 27, 2009August 27, 2009

Parsing textfiles with LINQ (or LINQ-to-TextReader)

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)”

Tags

.net ASP.NET Azure Azure Tables c# code snippets course csv Databinding Development Storage hierarchy LINQ parsing presentation SharedKey Lite shortcuts twitter unittesting Visual Studio vs2008

Latest tweets

  • No public Twitter messages.

Articles

  • I just updated my web app template
  • Free ASP.NET MVC 3 Workshop in Oslo
  • Clearing out the bookshelf
  • Custom ASP.NET DataSource parameters
  • More presentations coming up…

Categories

  • Development (22)
    • Events (8)
    • Shortcuts, tips and tricks (4)
  • Misc (3)
  • Photography (1)

Blogroll

  • .Net Development – Bernhard Richters blog
  • Jarle Bergersens english weblog
  • Jarle på Norsk
  • Kjempekjekt.com – Torbjørn Marø
  • Peter’s Pattern
  • Svein Terjes Blog
  • Tech and Me – Michael Svenson
Proudly powered by WordPress