libSBML C# API  libSBML 5.13.0 C# API
convertCobraToFbc.cs

Example of converting a COBRA-style SBML Level 2 model to SBML Level 3 using the Flux Balance Constraints package.