Interviews - C# Corner

Atulya Panda
What is var keyword ?
By Atulya Panda in ASP.NET on Nov 26, 2012
  • Manoj Rawat
    Aug, 2014 9

    Var is implicit typed Variable.

    • 1
  • keerthi rakasi
    Feb, 2013 28

    var is the default data type.

    • 1
  • lakshminarayana srinivasan
    Nov, 2012 30

    variables that are declared at method scope can have an implicit type var. An implicitly typed local variable is strongly typed just as if you had declared the type yourself, but the compiler determines the type. The following two declarations of i are functionally equivalent: var i = 10; // implicitly typed int i = 10; //explicitly typed

    • 1
  • Prakash Lakshmanan
    Dec, 2014 15

    Refer this Url : http://www.dotnetfunda.com/articles/show/1567/what-is-the-use-of-var-keyword-in-csharp

    • 0

VSLive! Anaheim

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS