How to create a c# object with a parameterized constructor from gdscript

Godot Version

Godot 4.2.2

Question

I am in a situation where a part of my game NEEDs to be in C# in order to interact with a DLL.
One of the C# classes I use to make contain data takes some parameters in its constructor but I cannot find a way to call it from GDScript.
I am aware I could make a static function that acts like a constructor but I would like to know for future reference how to create such a class from GDScript.

what I want to be able to do

const MyClass:= preload("res://MyClass.cs");
func _ready():
    var cls := MyClass.new(3)

Here is an example of a class with init constructor parameters.

1 Like