answersLogoWhite

0

Any feature in any computer language should be based on the need. In the last 2 years, I have not come across any need to use an array in my job. Yes, I do use collections, a lot of them, just never a fixed-size collection.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What does it mean when use percent 17 or mod any number in Array in C programming?

I mean %17


Example of a programming language?

C, C++, Java, C-Sharp


How can you store Class properties in Array in c sharp?

vcbvcbcvb


What programming language produces exe extensions?

C Sharp (C#)


How do you write a C Program to fill up an Integer Array?

Reference:cprogramming-bd.com/c_page1.aspx# array programming


Object oriented programming in c sharp?

Yes, C# is object orientated.


What is an array in C-programming?

A type construction: one or more values with the same type and name.


How you use negative index in array?

You cannot do this easily in C programming. Arrays in C always start with index 0. If you must use a negative array index, you can do that by allocating an array, and then pointing to an element within the array. Say you allocate an array 10 ints long, named a; then set b = &a[5]. Then b[-4] = a[1]. However, this is extremely bad programming practice and is almost certain to cause data corruption. Some compilers will treat array indices as unsigned, also, so that when you specify b[-4], the compiler will internally simplify that to b[65532] and your program will crash.


How do you store a string of letters for example abcdeabcde each to an array?

In C programming you would use the following: char a[] = "abcdeabcde"; If you wish to create an array with more than one string, use an array of character pointers instead: char* a[] = {"abcde", "fgh", "ijklm", "nopq", "rstu", "vwxyz"};


How do you create a 2 multidimensional array of size 22 in C programming?

int x[22][22];


Why is c string defined as an array?

Every programming language treats strings as arrays. A C string is defined as being a null-terminated array of characters. A C string that does not have a null-terminator is just an array of character values, but without a null-terminator the onus is upon the programmer to keep track of the array's length.


What are some of the benefits of programming in C Sharp?

There are many advantages to C sharp programming like: Not having to define the Headers (.h), Classes can be defined within classes, classes and functions can be defined in random order unlike C and C++, Classes and functions don't need to be declared in the program.