LINQ1 [C#]LINQ연습문제(레코드조회) 다음과 같은 배열에서 Cost는 50 이상,MaxSpeed는 150이상인 레코드만 조회하는 LINQ를 작성 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp13 { class Program { class Car //프로필 클래스 { public int Cost { get; set; } //객체 생성 public int MaxSpeed { get; set; } } static void Main(string[] args) { Car[] cars = { new Car(){Cost=56,MaxSpeed=120}, new.. 2020. 6. 12. 이전 1 다음