Tag Archives: Arrays

F# – Arrays

Next in the F# language, I would like to go over arrays.

I went over loops in my previous post, which I will be using which our arrays, so please take a look at that first if you haven’t learned how to do a for statement.  One thing to remember about Arrays is that they are mutable by default, so you don’t have to use the mutable keyword to indicate that you would like to update the values.

The syntax for declaring an array seems a little strange to me coming from a C# background, and that there are different ways to declare an array with static data.

Continue reading