Can we return two values from a function?

Answer Posted / ish rastogi

in c# a function can return two values with the help of out
parameter.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can hashtable have duplicate keys in c#?

470


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1865


What is different about switch statements in c#?

483


Is null in c#?

477


Define constructors

547






What is readline c#?

480


Explain the steps to create satellite assembly?

476


Can bool be null c#?

494


What are partial types in c#?

483


Why do we need reflection in c#?

475


What is the difference between protected and private?

457


What is the difference between console and windows application?

445


Is lazy thread safe c#?

495


What is the use of static in c#?

483


What is an example of delegation?

491