ILOG CPLEX .NET Reference Manual

IloIntSet.Size Method 

This method returns the size of the invoking set.

int Size();

See Also

IloIntSet Interface | ILOG.Concert Namespace