Parameter is used to passing information to a function. Based on type of
parameters, a function responses and returns value. A parameter can be
passed to a function by two ways: Passing parameter by value and passing
parameter by reference.
Array is a collection of variable of same data type. If you have declare 1000 integer variable, then you can declare an integer type array of 1000 size. The value of array can be accessed using index position of array. The first index position of array is zero. In C#, there two types of array: Single Dimensional Array and Multi Dimensional Array. You can use both type of array easily and can access its element using loop constructs or index position.
Comments
Post a Comment