Geeks With Blogs

Michael Freidgeim's Blog MS .Net Development 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 ......

Posted On Tuesday, May 29, 2012 10:52 PM

"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 ......

Posted On Tuesday, May 15, 2012 10:13 PM

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 with or http://programmingsolution.... More detailed are articles ......

Posted On Saturday, May 12, 2012 7:34 PM

Copyright © Michael Freidgeim | Powered by: | Join free