C# Expected input outside the Class error

Hey gang,

Does anyone know why this is happening ? The compiler is registering an error with lines outside my Script Instance class? Ive tried deleting and reintroducing curly brackets at the end to finish my code, but the problem persists. Any help with be appreciated with this.


240520_4.3 How to Work with Data Trees.gh (12.2 KB)

Kindest,
LL

All good. i figured out an additional bracket is to be blamed.

cheers gang.