var factory = new FormattingOptionsFactory(); var options = factory.CreateMono(); options.IndentationString = "\t"; options.BracingStyle = BracingStyle.NextLine;
using Mono.CSharp; var factory = new FormattingOptionsFactory(); var options = factory.CreateMono(); options.MakeMethodDeclarationCompact = true;In this example, we include the Mono.CSharp namespace and create a new instance of the FormattingOptionsFactory class. We use the CreateMono method to create a Mono FormattingOptions instance and set the MakeMethodDeclarationCompact property to true. Package library: This method is part of the Mono.CSharp.dll package library.