---
title: "System::Collections::Generic::List::get_Count method"
url: "https://reference.aspose.com/tex/cpp/system.collections.generic/list/get_count/"
product: "Aspose.TeX for C++"
description: "System::Collections::Generic::List::get_Count method. Gets number of elements in current list in C++."
---

## List::get_Count method


Gets number of elements in current list.

```cpp
int System::Collections::Generic::List<T>::get_Count() const override
```


### ReturnValue

Actual number of elements.

## See Also

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.TeX for C++](../../../)
