```csharp [StructRecord] public struct FooBar { [ToStringAsCollection] public string[] X {get; set;} } ``` And in this case the member X will be printed with the content of the array and not just as 'string[]'.