Wednesday, December 11, 2013

What is the difference between the Take and Skip clauses?

The Take clause returns a specified number of elements. For example, you can use the Take clause to return two values from an array of numbers.

The Skip clause skips the specified number of elements in the query and returns the rest. For example, you can use the Skip clause to skip the first four things in an array of strings and returns the remaining array of string

No comments:

Post a Comment