# Last Method

## Overloads

| [Last(IEnumerable<NxPage>, Int32)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Pager.Last.htm#Qlik_Engine_Pager_Last_System_Collections_Generic_IEnumerable_Qlik_Engine_NxPage__System_Int32_) |  | Get last pages |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Pager.Last.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Pager.Last.htm)

## Last(IEnumerable&lt;NxPage&gt;, Int32)

Get last pages

### Declaration

```

          public static IEnumerable<NxPage> Last(IEnumerable<NxPage> nxPages, int bottom)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;[NxPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxPage.htm)&gt; | nxPages | A collection of NxPage |
| System.Int32 | bottom | The last row index. |

### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.IEnumerable&lt;[NxPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxPage.htm)&gt; | A System.Collections.Generic.IEnumerator&lt;T&gt; that can be used to iterate through the collection. |