سلام بر تمامی برنامه نویسان #C 😉 در این پست کد linq: استفاده از متد Any برای چک کردن وجود حداقل یک عدد فرد در آرایه در سی شارپ #C را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد linq: استفاده از متد Any برای چک کردن وجود حداقل یک عدد فرد در آرایه در سی شارپ #C :
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
public class MainClass{
public static void Main(){
int[] numbers = { 2, 6, 1, 5, 10 };
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
public class MainClass{
public static void Main(){
int[] numbers = { 2, 6, 1, 5, 10 };