Can't we use var as the return type and data type of parameters? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 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