What is “var” keyword and what is doing

var number = 10;
var name = "Mamun";

So we don't need to Identify the type of those variables. Is it integer of string?

var is a Keyword and it is a dynamic keyword
var keyword automatically identify data type as string or integer

var customer = new {Name="Anisur", Address="Dhaka", CustomerNo="C001"};

Here we have created an customer object by using a “new” keyword. This customer have also some properties as- Name, Address, CustomerNo. This customer is an anonyms object which don’t have any type.

var keyword can be use in locally.