Programming tasks often require working with collections of data. The .NET Framework has always supported this scenario with constructs such as arraysand the
ArrayList class, but it wasn’t until generics were introduced in .NET 2.0 that collection support really matured.
F# builds upon .NET’s legacy by not only supporting all of the existing collection types but also bringing a few of its own to the party. In this chapter, we’ll see the role a few of the classic collection types play in F# and then explore the F#-specific types. Along the way, we’ll see how the built-in collection modules add some functional flair and make working with both the traditional and F#-specific types a breeze.
In .NET, sequence ...