Is it possible that a method can return multiple value at a time?
Gajendra Jangid
Select an image from your device to upload
We can return multiple values from a function using the following 3 approaches:Reference parametersOutput parametersReturning an ArrayReturning an object of class/struct typeReturning a Tuple
No, a method cannot return more than one values. You can use other techniques. If you want to get more than one value from a method then you can simply change the return to a custom or object type