Array

how to use Array in all data type

Page 1 of 1

1 Replies - 918 Views - Last Post: 02 October 2009 - 08:01 AM Rate Topic: -----

#1 adityapanday  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-October 09

Array

Post icon  Posted 02 October 2009 - 07:56 AM

hi this is aditya i m the new one in c#.nat can anybody tell me how to use Array in all data type in brief.
Is This A Good Question/Topic? 0
  • +

Replies To: Array

#2 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Array

Posted 02 October 2009 - 08:01 AM

Simply put you create an array as follows:

type[] variableName = new type[array_size];



type is of course the type of the array you want to create

variableName is the name of the array

array_size is the size of the array.

For C# basics, like this, check out the reference sheet here on DIC.
http://www.dreaminco...rence_sheet.pdf
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1