Typed Language Best Practice?
If there is a method
public Something[] Amethod()
should it ever return null? Do I have to always check for null since C# lets it return null?
On the other hand if I a declare a property of type DateTime it won't ever be null because it always get set to an instance of new DateTime() during contruction.
1:50:00 PM
|