Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Practicing Array Declaration | Arrays
C# Basics
course content

Contenido del Curso

C# Basics

Practicing Array Declaration

Create an empty array called heights of type float and length (size) of 7.

It's fine if you don't understand the code after the array declaration. It will make more sense in the next chapter.

cs

main

  1. The syntax of declaring an empty array is datatype[] arrayName = new datatype[size];.
cs

main

¿Todo estuvo claro?

Sección 5. Capítulo 2
We're sorry to hear that something went wrong. What happened?
some-alt