3 ms·
Like in languages like python or most functional languages where you can deconstruct a returned tuple. Imagine a function that returns a point tuple. Instead of
by alkonaut 13y ago
Like in languages like python or most functional languages where you can deconstruct a returned tuple. Imagine a function that returns a point tuple. Instead of this:
var p = SomeFunc();
print("X value is "+p.X);
You would do this
(x, y) = SomeFunc();
print("X value is "+x);
- n1ghtmare_ 13y agoAh, I see ! That's pretty awesome. You know Mads Torgersen recently gave a talk on "The Future of C#" in NDC London, he actually mentioned that they're thinking of something like that, I highly recommend you check it out.