Select Page

Where to use ‘var’ keyword in C#

Beginning from C# 3.0 version developers can write short keyword var instead of explicitly typed local variable. You can find it’s cozy to write these three letters instead of long explicit type. There is no performance impact when using var because the...