O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Arrays

Now that we’ve covered the built-in types in quite some detail and know from a few examples it’s possible to define our own types, we can delve a bit deeper. What about types of types? This might sound a bit “meta” at first, but the concept is very usable nevertheless. One such construct that allows the creation of types out of existing ones is called arrays.

Note: A Theoretical Undertone

Most books don’t introduce arrays this way, but I believe it helps to think of such crucial concepts in a more structured manner. In particular, what we’re talking about in this context are type constructors. Don’t confuse this with instance constructors or static constructors, which both are proper C# language terms. Type constructors are a theoretical ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required