Medline Industries interview question

Asynchronous communication in java script ,why we use var in c#