DEV Community

asilbek ibragimov
asilbek ibragimov

Posted on

1 1 1 1 1

9. Array

9. Array

a)Array nima?

b)Quyidagi kodning natijasini ayting:


int[] numbers = { 1, 2, 3, 4, 5 };
Console. WriteLine (numbers [2]);

Enter fullscreen mode Exit fullscreen mode

c) 2D array qanday ishlatiladi? Misol keltiring.
Javoblari:

a) Array bu bir xil turdagi ma'lumotlarni
ketma-ket joylashgan holda saqlashga imkon beruvchi tuzilma.

b) Javob == 3;

c) 
class Program
{
    static void Main()
    {
        int[] = `{{1, 2, 3}`, `{4, 5, 6}}`;
    }
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay