LongCount Prototype : LongCount « LINQ « C# / CSharp Tutorial






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

public class MainClass {
    public static void Main() {
        long count = Enumerable.Range(0, int.MaxValue).Concat(Enumerable.Range(0, int.MaxValue)).LongCount();
        Console.WriteLine(count);
    }
}








22.53.LongCount
22.53.1.LongCount Prototype
22.53.2.LongCount with &&(and) operator