May 2012 Entries

IsNullOrEmpty generic method for Array to avoid Re-Sharper warning

I’ve used the following extension method in many places. public static bool IsNullOrEmpty(this Object[] myArr) { return (myArr == null || myArr.Length == 0); }Recently I’ve noticed that Resharper shows warning covariant array conversion to object[] may cause an exception for the following codeObjectsOfMyClass.IsNull... resolved the issue by creating generic extension method public static bool IsNullOrEmpty<T>(this T[] myArr) { return (myArr == null || myArr.Length == 0); }Related ......

"Read It Later Pro" has been ruined into Pocket, but RIL Free is still usable.

I loved RIL Pro for iPad and used it every day, but about a month ago I was forced to upgrade to new version, named Pocket.The new version has so many problems, that it's almost unusable.The main issue is that iPad app doesn't show many of the saved links. I've posted my opinion that it would be better to have Pocket as a new separate application and recommend users to install it side by side with RIL Pro and try before replace at Pocket forum APR 20, 2012 http://help.getpocket.com/c... ......

Links about SQL PIVOT

One of my colleagues asked how to create SQL query to show results as columns of a row, that actually stored in multiple rows in the table. Other co-worker suggested to use cursor to manually generate required rows.I’ve found a few links about SQL PIVOT. It is easy to start withhttp://www.kodyaz.com/a... or http://programmingsolution.... More detailed are articles ......

«May»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789