I\'ve a situation where I need to check whether multiple variables are having same data such as
var x=1; var y=1; var z=1;
I want to check
There is how I did this:
Debug.Assert(new List { l1.Count, l2.Count, l3.Count, l4.Count }.TrueForAll( delegate(int value) { return value == l1.Count; }), "Tables have different size.");