Hello,

I have a function and a struct:
void foo(ref Data data) { ... }

struct Data
{
   int a;
   string text;
}

How to pass struct into function without naming its type?

This doesn't work:

foo({1234, "Hello!"});

Reply via email to