Any plans to support them?
1 Like
If need be you can still make you own for now :
struct BurstedValueTuple<T1,T2>
where T1:struct
where T2:struct
{
public T1 Value1;
public T2 Value2;
}
Thanks but the language doesn’t support customs ones for syntactic sugar
2 Likes
What kind of syntactic sugar you need that is not supported or can’t be supported ?
I guess he’s talking about the parentheses syntax (value1, value2) and deconstruction.
1 Like
https://docs.microsoft.com/en-us/dotnet/csharp/deconstruct#deconstructing-user-defined-types
At least partially ![]()
1 Like
Awesome i didn’t know about Deconstructing custom types!
1 Like