Triplet class (Come on Now)

.NET Framework 2.0 introduces a Triplet class which is used to hold 3 items. You can also hold a single or two items but the primary purpose is to hold three items. You can use it something like this:

 Triplet t = new Triplet();
        t.First = "Car";
        t.Second = "Engine";
        t.Third = "Wheels"; 

 

I think its pretty insane!


powered by IMHO

 

Print | posted @ Wednesday, October 12, 2005 12:00 AM

Twitter