1
Answer

Var and String differences

Photo of ashok maram

ashok maram

8y
286
1
I'm begnner to c#. What is the differences between var and string?

Answers (1)

0
Photo of Rajeesh Menoth
NA 24.7k 629.6k 8y
Hi,
 
var is an implicit type and string is an explicit type but these declarations are functionaly equivalent
 
Reference :
 
http://stackoverflow.com/questions/16790143/what-is-the-difference-between-var-and-string-in-c
Accepted