Array definition in c#

1 , 2 , 3 Iran
  • 12 years ago
    Hi How can i definition an array with conversional lenght in c# ?
  • 12 years ago
    You can use generic better. For example, I need array list of string: List quotes = new List(); quotes is your array and there are a lot of useful function fro the List Good luck!
  • 12 years ago
    There are several means to acheive this ArrayList a = new ArrayList(); List a = new List(); If u know that all the values u wanna store are of string type u can replace the string with the datatypes like int and so,,, Have a try :)

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Nine people can't make a baby in a month.” - Fred Brooks