DataTree c# Add empty path

Hi,

How can I add empty path to DataTree using C#?

this would not work:
dtsequence.Add(null, new GH_Path(i));

Hello !

Logically, it must work …
What is the type in the DataTree? Can you extract more code for an example?

jmv.

EnsurePath() might do the trick.