array in a method c# code example
Example 1: c# array
float[] array = new float[] { 1f, 5f, 4f, 3f };
Example 2: declare prop array c#
private int[] myNumbers;
public int[] MyNumbers
{
get { return myNumbers; }
set { myNumbers = value; }
}