Can't we use var as the return type and data type of parameters? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can't we use var as the return type and data type of parameters?

15th May 2016, 3:47 PM
Achintya Jaiswal
Achintya Jaiswal - avatar
4 Answers
+ 3
No, it would be hard to handle all exceptions if used in methods
13th Jun 2016, 11:58 PM
ะะตะผะพะณะฐะน ะะปะตะบัะตะน
ะะตะผะพะณะฐะน ะะปะตะบัะตะน - avatar
- 1
No
20th May 2016, 2:15 PM
Lev Sizov
- 1
No
14th Jun 2016, 7:09 AM
dubai
- 1
No
16th Jun 2016, 7:36 PM
Naghmeh Majidpour
Naghmeh Majidpour - avatar