Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

LINQ: Exemple d’utilisation de ‘Concat’

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);
   }
}
 
 }

No comments yet.

Leave a Comment