[Mono-list] Cookie.cs and String.Empty vs. null

Shahms E. King shahms@shahms.com
03 Sep 2002 00:13:18 -0700


I've got a question someone might be able to answer, the Cookie class,
if someone attempts to set some of the properties, the setter changes a
null into a String.Empty, but I don't think that's the correct thing to
do, because then any place that checks to see if that property isn't
set, needs to check for null AND String.Empty

the docs don't make any mention of it, String.Empty is NOT equal to null
and I don't have a Windows machine anywhere to test it.


--Shahms