Suppose you are having a picnic and prepare two different baskets, one for food and another for drinks. Each basket is half empty, so instead, you decide to put everything into one basket. If you were to represent this in programming, an example might be that you are combining two arrays to create an array of mixed types. In this video, you will learn how to add two arrays of the same type together. Then explore how to use different data types within an array. Finally, you will learn how Swift provides you with two different types that help you work with an array of mixed datatypes. Recall that you can store multiple values of the same type using something known as an array. Well, in Swift, you can also create a new array by adding together two existing arrays of the same type. Let me demonstrate this now. I'm in Xcode and notice that I have two arrays that I created previously, aArray with integer values of 1, 2, 3 and bArray with integer values of 4, 5, 6. To combine the two arrays, I can use the plus symbol to add them together. First, I create a new constant named cArray. After this, I add a colon and then define the type as integer inside the square brackets. I then assign this array to be the values of aArray plus bArray. Next, to print the output of this array. On the next line, I type the print function and place cArray between the parenthesis. Finally, I click the "Run" button to execute the program. Notice that the output of 1, 2, 3, 4, 5, 6 displays at the bottom of my screen. This is a combination of aArray and bArray as they are of the same type. It's important to remember that arrays by default are set to handle a specific type, for example, integers. However, what if you wanted to work with an array of mixed types? Well, Swift has two special types that allow you to work with non-specific types, namely Any and Any object. Don't worry about the type, Any object for now, you will learn more about this later. For now, let's just focus on the Any type. Any can represent an instance of any basic type, for example, strings, integers, and doubles. This allows you to create an array of mixed types. To demonstrate this, I'll create an array with mixed types. First, let me clear my screen. To create an array with mixed types, I type var, then the name of the array I want to create, like an array, followed by a colon. Then between square brackets, I define the type as Any. After this, I add an equal sign and the number 59 between square brackets. Notice that this value is of type integer. On a new line, I can add a new value of type double to the array by using the append method. To do this, I type anArray.append and place the value of 3.33 between the parenthesis. On the next line, I add another array item of type string. By typing anArray.append, I enter the string orange, enclosed in quotation marks between the parenthesis. Finally, to output the array values on a new line, I type print followed by an array placed inside the parenthesis. I'll run the code again and notice at the bottom of my screen the output is 59, 3.33, and orange. Notice that this is all the types that I have created, an integer, a double, and a string. It's important to understand that while you can create an array with multiple datatypes, it might not be the most optimal way to structure your data. In Swift, there are other options available to achieve this and you will learn about them later. However, there may be some situations where this can be required. For example, developers building mobile apps with iOS. In this video, you learned about how to add two arrays of the same type together and how to use the type Any to work with an array of mixed types.