کپی گرفتن از ArrayList و ساخت یک ArrayList دیگر در #C
سلام بر تمامی برنامه نویسان سی شارپ 😉 در این مطلب ، کپی گرفتن از ArrayList و ساخت یک ArrayList دیگر در سی شارپ #C رو براتون آماده کردم. انشاالله که این کد براتون مفید باشه.
خروجی پروژه به این صورت می باشد:
This
is
a
test
is
a
test
کپی گرفتن از ArrayList و ساخت یک ArrayList دیگر :
using System;
using System.Collections;
public class test
{
public static void Main()
{
ArrayList myArrayList = new ArrayList();
myArrayList.Add("This");
myArrayList.Add("is");
myArrayList.Add("a");
myArrayList.Add("test");
using System.Collections;
public class test
{
public static void Main()
{
ArrayList myArrayList = new ArrayList();
myArrayList.Add("This");
myArrayList.Add("is");
myArrayList.Add("a");
myArrayList.Add("test");