Tag: arrays in c#

1 articles found.

How to use Arrays in C# ???

How to use Arrays in C#, Arrays in C#, array c#, c# array,Multi-Dimensional Arrays in C#

Hello friends, I hope you all are having fun. In today's tutorial, we are going to discuss How to use Arrays in C# . It's our 6th tutorial in C# series and currently we are focusing on basic concepts in C#. Without understanding these simple concepts, we can't move forward. So, let's get started with Arrays in C#: How to use Arrays in C# ??? An array (base type System.Array ) is a collection of similar (like-typed) data types, called by a common name. Each data item is referred as an element of array and is assigned an index starting from 0. As C# array is an object so we can find its length using member length, which is actually a count of total number of data items in that array. Arrays are reference types and implement IEnumerable that's why, we have to use new keyword for new instance ...