Bittu Kumar
How many values return through a method at a time?
By Bittu Kumar in .NET on Jan 14 2018
  • Gajendra Jangid
    Jan, 2018 31

    No it is not. You can return an object though and that object can contain multiple properties –

    • 1
  • Melbin m p
    Oct, 2018 7

    Method never return function alone returns ...

    • 0
  • Amit Bansal
    Aug, 2018 19

    You can return in multiple ways:using single object which can have many properties. that is standard.Using Out parameter.Using Tuple you can return two values.

    • 0
  • Sandeep Kumar
    Mar, 2018 4

    It can return an object though that object can contain multiple properties

    • 0
  • Sathiya Moorthy
    Feb, 2018 18

    It depends, if we want to return multiple values, can use tuple, classes, struct or anonymous types

    • 0
  • Sathiya Moorthy
    Feb, 2018 18

    It depends, if we want to return multiple values, can use tuple, classes, struct or anonymous types

    • 0
  • Vinay Kumar Gupta
    Feb, 2018 2

    Depends on requirements if you want to return multiple string values need to create Array of string like : public string[] returnValues() { //to do code and return array of string }

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS