Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How var type is different from anonymous type?



How var type is different from anonymous type?..

Answer / Sri Ram Yadav

"The 'var' keyword in C# is a type-inferred variable, which means the compiler automatically determines its data type based on the initial value. On the other hand, an anonymous type is a dynamic type that is created by the compiler at runtime when declaring a new object without specifying a specific class or structure."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

What is data context class? Explain its role?

1 Answers  


Can we use LINQ with databases other than SQL Server

1 Answers   Sans Pareil IT Services,


What is the use of linq in c#?

1 Answers  


How you can retrieve a single row with linq?

1 Answers  


Explain what is the extension of the file, when LINQ to SQL is used?

1 Answers  


What is lambda expression in linq?

1 Answers  


Explain what are compiled queries?

1 Answers  


What is linq in xamarin?

1 Answers  


What do you understand by datacontext class? How is it related to linq?

1 Answers  


How Expressions Trees are different from Lambda Expression?

1 Answers  


What is Expression?

1 Answers  


Which is faster linq or stored procedure?

1 Answers  


Categories