I am not an SDK person.
Are you looking to create a Point Feature Class from the start and end vertex of lines?
Then you could use Feature Vertices to Points, where Point Type = "Both Start and End Vertex" (or "Dangling Vertex" if you want the points to be created on open-ends of lines).