var completionData = new CompletionDataWrapper(); var text = completionData.Text;
var completionData = new CompletionDataWrapper { Text = "example", Description = "This is an example" };In this example, we create a new instance of the CompletionDataWrapper class and set the Text and Description properties. The Description property represents a brief description of the suggestion that is intended to help the developer understand the purpose of the suggested code completion. This code examples are using ICSharpCode.NRefactory.CSharp.Completion package library in C#.