Can we return two values from a function?

Answer Posted / srinivas.r

Function should have only one return statement,whereas
using out parameter its possible to send more than on value.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private readonly in c#?

508


Differentiate between response.expires and response.expiresabsolute?

527


What is string in c# net?

482


What is state c#?

425


What is dll in c#?

494






Is dll a library?

474


What are the generation of Garbage Collection in C# .NET ?

545


Is xml tags are case sensitive?

470


What is hierarchical inheritance in c#?

468


What is array class in c#?

449


What is application object in c#?

493


When was .net linq added?

502


How to use delegates with events?

536


What is a method signature?

513


When To use HashTable In C#

538