2 ms·
List<> tells me it's an ordered collection of a singular superclass that allows duplicate instances. var tells me nothing.
by exabrial 9y ago
List<> tells me it's an ordered collection of a singular superclass that allows duplicate instances.
var tells me nothing.
- trixie_ 9y ago'var transactions' is enough information for most people to understand it's a list of some sort. If it really matters to you then use the IDE. The full type info is just not that useful. That's why most languages are moving towards inferred typing - typescript, c#, java, c++, rust, go, scala, etc...