should i default(foo), foo.empty, null?
so c# allows default(foo)
famous "not filled yet"/empty instance category -- i'm certain accurately same new foo()
not. library classes also exercise foo.empty
property, advantage identical instance. impetus any anxiety form indicate null
. really, what's difference? right wrong? what's some-more consistent, performs better? tests should i checking an vigilant conceptually "not prepared primary time"? everybody foo.isnullorempty()
.
Comments
Post a Comment