Coffeehouse Post

Single Post Permalink

View Thread: How are you using Tuple in code?
  • User profile image
    wkempf

    I find Tuple less useful in OO languages that don't include "tuple assignment" and therefor generally prefer domain types over the non-specific Tuple. Give me tuple assignment, though, and I'd probably use it a lot in C#.

    int index, string name = FindMostExpensiveProduct(); // dumb example