libSBML C# API
libSBML 5.13.0 C# API
FlattenModel.cs
Model flattening example.
Visit
SBML.org
for more information about SBML and libSBML.