ElementSet myElementSet = new ElementSet(); myElementSet.AddElement(1); myElementSet.AddElement(2); myElementSet.AddElement(3);In this example, we create a new ElementSet object and add the elements 1, 2, and 3 to it using the AddElement method. This method is part of the Bentley.GeometryNET package library.