Welcome to MSDN Blogs Sign in | Join | Help

Returning Empty Arrays

Wesner Moise has a good blog entry about returning empty arrays instead of nulls. I agree with him. Without repeating everything he wrote, if I call a method like GetListOfSomething, I expect a list back...even if it contains 0 elements.
Published Tuesday, February 24, 2004 8:51 AM by mswanson

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker