Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

LINQ: Exemple d’utilisation des agrégats sur un tableau

LINQ, All, Any, Concat, Contains, Agrégat, Union, Select, Order, From, Where
{filelink=15061}

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
 
namespace LINQ
{
    public class ExempleAgregat
    {
        public static void Main()
        {
            int[] nombres = { 100, 200, 300, 400, 500, 600, 700, 800, 900 };
            var requete = nombres.Aggregate((a, b) => a * b);
        }
    }
}

No comments yet.

Leave a Comment