Instead of using .Count() == 0
, just use .Count == 0
. This is using the stack’s property rather than the linq extension method.
Instead of using .Count() == 0
, just use .Count == 0
. This is using the stack’s property rather than the linq extension method.