سلام بر تمامی برنامه نویسان عزیز 😉 در این پست آموزش چک کردن وجود داشتن یک عدد در آرایه int با متد Contains در #C را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد چک کردن وجود داشتن یک عدد در آرایه int با متد Contains در #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, 56, 102 };
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, 56, 102 };