Click here to Skip to main content
15,913,773 members
Articles / Programming Languages / C#

OperationResult Class in Support of Multiple Return Values from a Method

Rate me:
Please Sign up or sign in to vote.
5.00/5 (18 votes)
14 Dec 2015CPOL4 min read 31K   14  
Sometimes, you just must return multiple values from a method. Instead of specifying out or passing arguments by reference, consider an OperationResult class.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect BI Software, Inc.
United States United States
A seasoned IT Professional. Programming and data processing artist. Contributor to StackOverflow.

Comments and Discussions