So I just learnt about the Triplet class. I have no experience with ASP.NET, only the core .NET Framework.
Can someone explain to me where/why the Triplet class exists? Is it like a Tuple?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it’s pretty much like Tuple from .NET 4.0, but dates back to .NET 1.0 and ASP.NET 1.0 in particular. It’s primarily used in ViewState serialization:
There’s also its’ younger brother called
Pair.There’s absolutely no reason you should even bother about these classes or else an unholy untyped mess will ensue.