Affiliate Programs
 
Search affiliate programs for: 
Affiliate Categories
» Affiliate Networks
» Ad Networks
» 2 Tier Programs
» Pay Per Sale
» Pay Per Lead
» Residual Income
» Datafeeds
» Multi Tier Programs
» Business Opps
» Other Programs

Newsletter
Get newly added affiliate programs by email. Enter your email here:
Article Categories
» Affiliate Marketing
» Business
» Ecommerce
» Hosting
» Marketing
» Sales
» Web Designing
» Webmasters
» SEO & Promotion
» Working At Home
» Other Articles
» Affiliate Glossary


Go Back   AffiliateSeeking Forum > Website Creation, Design & Maintenance > Programming > ASP

ASP Discuss about ASP scripting problems or help others with their ASP scripting issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-21-2010, 10:58 AM
ursimrankhanna ursimrankhanna is offline
Senior Member
 
Join Date: Jul 2010
Location: delhi ( india )
Posts: 508
ursimrankhanna is on a distinguished road
Default How do implement the array in asp.net?

plz reply the my Question...
Thank you..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-06-2010, 06:07 AM
deveshraigniit deveshraigniit is offline
Member
 
Join Date: Nov 2010
Location: Delhi
Posts: 97
deveshraigniit is on a distinguished road
In C#, an array index starts at zero. That means, first item of an array will be stored at 0th position. The position of the last item on an array will total number of items - 1.
In C#, arrays can be declared as fixed length or dynamic
we describe the Array in the two parts;-
Single Dimension Arrays
Multi Dimension Arrays


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-01-2011, 11:36 AM
Pooja thakur Pooja thakur is offline
Junior Member
 
Join Date: Apr 2011
Posts: 8
Pooja thakur is on a distinguished road
Frnd you can define array like:

double[] doubleArray = new double[5];

char[] charArray = new char[5];

bool[] boolArray = new bool[2];


You can use array like

// Initialize a dynamic array items during declaration

string[] strArray = new string[] { "Mahesh Chand", "Mike Gold", "Raj Beniwal", "Praveen Kumar", "Dinesh Beniwal" };



// Read array items using foreach loop

foreach (string str in strArray)

{

Console.WriteLine(str);

}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2011, 08:05 AM
amkeabhi123 amkeabhi123 is offline
Senior Member
 
Join Date: Jul 2011
Posts: 111
amkeabhi123 is on a distinguished road
Send a message via Skype™ to amkeabhi123
simple you create the object of the array
int[] i = new int[2];
two dimension array
int[,] i= new int[3,2] ;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-22-2012, 08:12 AM
sandeep552 sandeep552 is offline
Senior Member
 
Join Date: Feb 2012
Posts: 221
sandeep552 is on a distinguished road
And for three dimension or multiple dimension use this syntax
int[] array = [2, 6, 5];
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
© 2004-2011 AffiliateSeeking. All rights reserved.