Can't we use var as the return type and data type of parameters? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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