0

I seek clarification, i understand when to use data types of string, integer, double etc.When exactly would i use a data type of var (Variable)?

Sanvir
  • 183
  • 1
  • 9
  • When ever you want.Refer [documentation](https://msdn.microsoft.com/en-au/library/bb383973.aspx) –  Jul 26 '15 at 11:12
  • 1
    `var` isn't a data type. It's shorthand to tell the compiler to use the correct type without you needing to specify it. – freedomn-m Jul 26 '15 at 14:21

0 Answers0