modules/platforms/dotnet/Apache.Ignite.Core/Impl/Compute/ComputeImpl.cs
/// <summary>
/// Gets element count or zero.
/// </summary>
Gets element count or zero.
Gets element count or zero .
private static int GetCountOrZero(object collection)
        {
            var coll = collection as ICollection;
            return coll == null ? 0 : coll.Count;
        }
private static int GetCountOrZero ( object collection ) { var coll = collection as ICollection ; return coll == null ? 0 : coll . Count ; }
Gets element count or zero.
Gets element count or zero .
collection
object