Re: question on anonymous type
- From: "Peter Morris" <mrpmorris at gmail dot com>
- Date: Tue, 3 Jun 2008 11:17:31 +0100
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 ?
In this case I see no benefits in either, except "var" is quicker to type.
.
- References:
- question on anonymous type
- From: timor . super
- question on anonymous type
- Prev by Date: Re: question on anonymous type
- Next by Date: Re: question on anonymous type
- Previous by thread: Re: question on anonymous type
- Next by thread: Re: question on anonymous type
- Index(es):