Quantcast
Channel: linq – Chris Bitting
Browsing index pages (5 articles)
↧

Image may be NSFW.
Clik here to view.

Sorting ExpandoObject / Dynamic Object Lists in c#

Sometimes I find myself using lists of ExpandoObjects to quickly create lists of dynamic objects. They are super fast to create, and so flexible. You may however want to sort the list using one of the...

View Article


Image may be NSFW.
Clik here to view.

Parsing JSON data in C# (JSON.NET, Linq, HttpClient)

Parsing JSON in C# is pretty simple. I’m a fan of using Newtonsoft.Json (known as JSON.NET) – I’ve found this to be the fastest, easiest JSON parser available. Below are some steps to get parsing on...

View Article


Image may be NSFW.
Clik here to view.

Reading Excel Files in .net Using LinqToExcel

I’m sure at some point you’ve needed to read some Excel files in an application. You’ve probably even used the Office Interop libraries (using something like: new Excel.Application();). Below I’ll show...

View Article

Image may be NSFW.
Clik here to view.

Using SortedSet as a Sorted List with Custom Comparer – c#

Sometimes you have a list of objects you want to stay sorted. You can usually use an IList and then linq: orderby to sort the list – but other times it helps to have the list always sorted. In those...

View Article

Image may be NSFW.
Clik here to view.

MongoDB – Linking Records / Documents Using MongoDBRef

If you’re using MongoDB, you know as a document database it doesn’t provide the “join” feature you’ve come to rely on in standard relation databases (sql server, mySql, postgres). In many instances,...

View Article

Browsing index pages (5 articles)


Latest Images