# BrepSurfaceList class

Namespace: [Rhino.Geometry.Collections](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.collections.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class BrepSurfaceList : IEnumerable<Surface>
```

Provides access to all the underlying surfaces in a Brep object.

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepsurfacelist/count.md): Gets the number of surfaces in a brep.

## Indexers

- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepsurfacelist/item.md): Gets the Surface at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.

## Methods

- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepsurfacelist/getenumerator.md): Gets an enumerator that visits all surfaces.
- [IEnumerable.GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepsurfacelist/system-collections-ienumerable-getenumerator.md): Gets the same enumerator as [BrepSurfaceList.GetEnumerator()](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepsurfacelist/getenumerator.md).
