I write simple library wich returns List of names.
But,what i should returns if i can not find anything?
return new List<String>();
or
return null;
example:
var resultColl=FindNames(...);
This code can be used from another components and i do not want to corrupted it. If i return null- i think it is right way to check it. But, may be i should return empty list?
Thank you.