Loading
Var is a variable-declaration keyword used in languages including C# and JavaScript. In C#, it declares a local variable whose static type is inferred at compile time; in JavaScript, it declares a function-scoped variable, often in legacy code. Developers use it to create variables while considering type inference and scope.
12 posts about Var keyword by 12 contributors.
Know Var keyword? Share what you know with developers who are learning it.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article