This is a Langauge Integrated query which returns an array of numbers which is greater than 5 from the given array.
int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
var lowNums = from n in numbers where n < 5 select n;
|
No responses found. Be the first to respond and make money from revenue sharing program.
|