9
votes
3answers
550 views

What do you think of this improvement of Linq's GroupBy method?

Linq already has a set of GroupBy methods for enumerable, which returns IEnumerable<IGrouping<TKey, TSource>>. I dislike this return type because it means I have to do a where query ...
2
votes
4answers
2k views

Priority queue implementation in C#

My application has a thread for handling database inserts and updates. Data is added by other threads to a generic queue in the DB thread. The contents of this queue is retrieved and is sequentially ...
0
votes
1answer
688 views

vb.net code to load XML and csv files to datatables at startup

Here is some code that I put together for an app I am working on that loads 2 xml files and a large csv file to a dataset at startup. It runs fairly fast, but I would like a second opinion on what I ...