|
|
|
|
|
by trixie_
3030 days ago
|
|
See the example of Account account = customer.GetAccount(); List<Transaction> transactions = account.GetTransactions(); Have I saved you any extra-effort here by specifying the types? You have no idea where these types came from or how they are defined. So why is this useful? 'Go to definition' works just as well on var. |
|
It's no surprise though that in the world of null-propagation haven that the language maintainers would decide to expand this class of problem to all object types! Why should the null primitive be the only thing that gets to ruin our day?