diamond diamond

diamond diamond

  • NA
  • 133
  • 55.4k

how to return more than one value in function

Aug 31 2013 4:30 PM
Hi 

I have a function , which I want return 2 variable with various datatype.

private List<double> , double[,] Do(double paramTime, double MinTime)
        
        {

             list<int> HC= new list <string>(50) ;
             double[,] totalVal= new double[hosts.Count,1];

         return HC , totalVal ;
         }

Answers (2)