I came across use of code like this in a codebase that I'm working on:
private (string someVar1, string someVar2) ParseInfo(Info info)
{
return (someVar1: "test1", someVar2: "test2");
}
Does the approach above basically provide a simplified approach for returning a complex object on the fly without having to create a special class/structure? What is this construct named and when was it introduced?