سلام بر تمامی برنامه نویسان عزیز 😉 در این پست کد متد Equals برای تشخیص مساوی بودن 2 آرایه در مکان ها و مقدارهای یکسان در #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد متد Equals برای تشخیص مساوی بودن 2 آرایه در مکان ها و مقدارهای یکسان در #C :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public static void Main() {
var wordsA = new string[] { "c", "ap", "b" };
var wordsB = new string[] { "c", "ap", "b" };
bool match = wordsA.Equals(wordsB);
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class MainClass {
public static void Main() {
var wordsA = new string[] { "c", "ap", "b" };
var wordsB = new string[] { "c", "ap", "b" };
bool match = wordsA.Equals(wordsB);