Contract.Exists Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Namespace:   System.Diagnostics.Contracts
Assembly:  mscorlib (in mscorlib.dll)

System_CAPS_pubmethodSystem_CAPS_staticExists(Int32, Int32, Predicate<Int32>)

Determines whether a specified test is true for any integer within a range of integers.

System_CAPS_pubmethodSystem_CAPS_staticExists<T>(IEnumerable<T>, Predicate<T>)

Determines whether an element within a collection of elements exists within a function.

Return to top