how the arrays passing as function arguments
Arrays can be passed as arguments to method parameters. Because arrays are reference types, the method can change the value of the elements. Passing Single-Dimensional Arrays As Arguments. You can pass an initialized single-dimensional array to a method.For example, the following statement sends an array to a print method.C#. Copy. The following code shows a partial implementation of the print method.C#. Copy. You can initialize and pass a new array in one step, as is shown in the following example.ou can pass an initialized single-dimensional array to a method. For example, the following statement sends an array to a print method. C#. Copy. The following code shows a partial implementation of the print method. C#. Copy. You can initialize and pass a new array in one step, as is shown in the following example.