public static ArgBase <T[]> CountIs <T>(this ArgBase <T[]> arg, int count) { arg.IsNotNull(); if (arg.Value.Length != count) { throw new NotExpectedException <int>(arg.Value.Length, count, arg.Name); } return(arg); }