.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Rectangular and Jagged Arrays

Posted By: PankajGupta     Posted Date: July 21, 2009    Points:2   Category :C#
what is the difference between Rectangular and Jagged Arrays ?

Thank You.

Responses
Author: Faizal             
Posted Date: July 21, 2009     Points: 5   

HI,
Rectangular Array : A rectangular array has more than one index in the same array.

Jagged Arrays : A jagged array is an "array of arrays". It's also multidimensional, but each "dimension" doesn't have to have the same number of "elements". Here's the declaration of a jagged array.

For example please refer

http://visualbasic.about.com/od/quicktips/qt/initjaga.htm

Author: PankajGupta             
Posted Date: July 22, 2009     Points: 5   

I am learning C# in the beginning.So I am not familiar with VB . Please Give the reference of C#.

You Definition is good.
Thank You.

Indian Search Engine Optimization Forum
http://forum.wedost.com
Author: Akhil Raj       [Moderator]      
Posted Date: July 22, 2009     Points: 5   

hi friend ,
Just check the following articles..

http://en.csharp-online.net/All_about_Arrays_in_CSharp%E2%80%94Comparing_Rectangular_and_Jagged_Arrays


http://www.csharphelp.com/archives4/archive703.html




Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend