Extension Methods from Janson
-
List<T>.AreAllSame()
Simple extension method Check if all items are the same in a List. This extension method will return true if all of the elements in the list are the same. The original author is MSkuta This extension method is getting from :https://stackoverflow.com/a/35839942/5483868