(Peter Vogel) You have a method that returns multiple values. So you have to define a class, instantiate it, set the properties to the values, and return the resulting object, right? Well, no you don’t — at least in .NET Framework 4, which gives you a simpler way: Tuples.
Read More - Register for Free Membership