devxlogo

Microsoft Plans to Add Tuple Support to C# and Visual Basic

Microsoft Plans to Add Tuple Support to C# and Visual Basic

In a blog post, Microsoft’s .NET team said it is working on adding support for tuples to two of the platform’s key programming languages: C# and Visual Basic. ?A tuple is vaguely like an array in that it?s a data structure that bundles up multiple values together as a unit, except whereas in an array, each element of the array has the same type, in a tuple every element may have a different type,? explained Anthony D. Green, program manager on the managed languages team at Microsoft.

Green added, “We think tuples will be very helpful with reducing a lot of the ceremony and internal bookkeeping around returning and passing data within your project by making bundling data as easy as possible.”

View article

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist