While working with var in c# if you need to initialize
var then normally we think like below:
var qq=null;
If we do like
above then we will get below error:

Image 1.
So to solve this use initialize your var like below:
As you can see I want to store a List in my var:

Image 2.
It depends what you want to store in your list: I f you
want string then use below:
string y = null;
var qq = y;