How to create a C# method which can return multiple datatypes?

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Hi Tech Friends,<br/><br/>How to create a C# method which can return multiple datatypes?<br/><br/>At this time, I see that we can create a method in C# which can return only one data type. I tried using Generics but not successful completely.<br/><br/>Is there a way to create a method which can retun multiple data types or anonymous data type?<br/><br/>Thanks in advance,<br/>Jai

View the full article
 
Back
Top