 Hi, in this video we're going to talk about multidimensional arrays in TypeScript. Let's create a multidimensional array. For example, first we can create a variable, let's call it matrix and that matrix will contain numbers. Matrix is going to be a multidimensional array, which will contain numbers and we can populate our matrix multidimensional array. For example, by using push function and inside it we're going to put few arrays of arrays for example, first array will contain numbers 1, 2, 3, then we're going to put two more arrays in our multidimensional array. Okay, now we have a multidimensional array matrix, format 3 by 3, which contains these numbers. Then we can print an element from our matrix to our web page. For example, let's say document.writeLine, we're going to use an element of our matrix. For example, first element of second array. So our second array is going to have index 1 because this first array is going to have index 0, second is going to have index 1 and the third is going to have index 2. So we want to get an element from our second array, so we're going to use number 1 as an index and we want to use for example, let's say the third element from here. So we're going to use number 2 from index because same way, first element in this array has index 0, second has index 1 and third has index 2. And if we want to print that element, we need to convert it to a string because this element is going to be number, but if we want to print it, we need to provide a string, then I'm going to compile this example to JavaScript by using TSC, command in common prompt and using the name of our TypeScript file. Now I'm going to use that compiled JavaScript file inside our HTML page. Okay, let's open our index.html file and let's run it. The number at this position inside our matrix. Okay, on the other way we can declare our multidimensional array matrix without using push function. We can populate our multidimensional array by putting values directly inside it. For example, let's define again our array matrix and inside square brackets we're going to put the values of our arrays and that's the same way on which we can declare our multidimensional array. So these two ways of making matrix multidimensional array are almost equal and finally we can define multidimensional array of strings or of any other type or any other object. I will make an array of strings by changing this number values to strings and then I don't need to put here method to string because this element is going to be string and we can easily write it on our web page. That's all in this lesson. Don't forget to subscribe to my channel and don't forget to like my video and to check out for other videos on my channel. See you in the next video.