Skip to content

Righthand Blog

About .NET/C#, Xamarin, Flutter and other fun technologies

  • Righthand Dataset Debugger Visualizer
.net / .net 3.5 / .net 4.0 / LINQ

Dealing with iterations over null lists in LINQ to Objects

Posted on: October 15, 2009March 29, 2020

Problem If you used LINQ to Objects you have certainly come across iterations over null values resulting in an ArgumentNullException being thrown at you. See this example: int[] […]

.net 3.5 / LINQ / LLBLGenPro / VS 2008

Using extension methods to make code less cluttered

Posted on: November 8, 2008March 29, 2020

Here is an example where an extension method is useful. Take this [LGP] code for example: public EntityCollection<CustomersEntity> GetCustomers() { using (DataAccessAdapter da = new DataAccessAdapter("Data Source=[SERVER];Initial Catalog=Northwind;Integrated […]

Niche Blog by Fahim Murshed