LINQ: Exemple d’utilisation de ‘Concat’

Author:

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

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;

namespace LINQ
{

public class ExempleConcat
{
   public static void Main()
   {
       int[] nombres1 = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
       int[] nombres2 = { 10, 20, 30, 40, 50 };

       var requête= nombres1.Concat(nombres2);
   }
}

 }

Leave a Reply

Your email address will not be published. Required fields are marked *