I need to define a method which returns multiple arrays in .NET. i have tried using “Tuple” but it needs the method to be declared “private”. in my case, i am using web service and when i declare method private, it does not appear in list of methods of webservice. can somebody suggest me what to do?
Share
You can return an
IEnumerable<int[]>for example. Just make sure that you use the correct type instead ofint.BTW: Using
Tupledoesn’t imply that you have to make your method private. There is something else going on with this.