using arraays as methods in c# code example Example: c# array float[] array = new float[] { 1f, 5f, 4f, 3f };