# Chapter Seven: Collections. Is ArraySlice and Array\<String\>.SubSequence are the same?

**URL:** <https://forums.kodeco.com/t/chapter-seven-collections-is-arrayslice-and-array-string-subsequence-are-the-same/186711>\
**Category:** Swift Apprentice: Fundamentals\
**Created:** [April 27, 2023, 7:20am UTC](https://forums.kodeco.com/t/chapter-seven-collections-is-arrayslice-and-array-string-subsequence-are-the-same/186711 "2023-04-27T07:20:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmtreaqq](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@dmtreaqq](https://forums.kodeco.com/u/dmtreaqq)\
**Post date:** [April 27, 2023, 7:20am UTC](https://forums.kodeco.com/t/chapter-seven-collections-is-arrayslice-and-array-string-subsequence-are-the-same/186711/1 "2023-04-27T07:20:15Z")

</div>

In this chapter, we have a topic about “Using Countable Ranges to Make an ArraySlice”

We have this code below

```auto
let upcomingPlayersSlice = players[1...2]
print(upcomingPlayersSlice[1], upcomingPlayersSlice[2])
// > "Bob Cindy\n"

```

But when I run it in a playground, I see the inferred type of **upcomingPlayersSlice** is `Array<String>.SubSequence`.

Then, I just created a simple variable, where I explicitly set the type of ArraySlice and checked if can I assign to this variable our subsequence, and it works!

`let arraySlice: ArraySlice = upcomingPlayersSlice`

I am a little bit confused here, just the book said that we will create an ArraySlice type, I see that it is Subsequence type, and I see that it can be assigned to ArraySlice. Please could somebody guide me in the correct way of thinking about it?
