Part 2 What is jagged array

Link for code samples used in the demo
http://csharp-video-tutorials.blogspot.com/2013/09/part-2-what-is-jagged-array.html

Link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists
http://www.youtube.com/user/kudvenkat/playlists

What is jagged array
A jagged array is an array of arrays.

Let us understand jagged array with an example.
1. There are 3 employees – Mark, Matt, John
2. Mark has a bachelor, master and doctrate degree (3 qualifications)
3. Matt has only a bachelor degree (1 qualification)
4. John has a bachelor and a master degree (2 qualifications)

Different employees have different number of qualifications. To store their qualifications in a data structure, Jagged array is one of the choices.

In this example, we have created an array of string arrays. In a similar way, we create an array of integer arrays, an array of decimal arrays etc.

    .Net abstract abstract class advantage Advantages array arraylist AS asp.net benefits block C (Programming Language) C# c# class default constructor access modifier c# interview questions and answers c# reflection constructor access modifier c# reflection constructor not found c# reflection default constructor c# reflection get constructor c# reflection private constructor c# reflection protected constructor call cast catch class constructor csharp Data DataTypes difference between Difference between int and Int32 in c# different directory dot net dotnet Each example exception exceptions factorial files Finally folder frequently asked function generic Handle happens int vs int32 interfaces interview is jagged keyword LINQ list Lists method Number occur Operator Overriding purpose question questions Real Real-time real-world realtime Recursion recursive reverse Sentence single store String Structure subdirectories Throw throws time try Types Use using virtual method what when where Why Word World