Hi all,
I have a question on anonymous type
I can write :
using (StreamWriter writer = new StreamWriter(.. .))
and I can write this too :
using (var writer = new StreamWriter(.. .))
What is the best ? Which option should I choose ?
The first seems to be more readable ...
Thanks in advance for your answer
I have a question on anonymous type
I can write :
using (StreamWriter writer = new StreamWriter(.. .))
and I can write this too :
using (var writer = new StreamWriter(.. .))
What is the best ? Which option should I choose ?
The first seems to be more readable ...
Thanks in advance for your answer
Comment