Null string, as in char(0) or a string that is null:
if(stringName == null)
{
// you detected a null string
}
char[] charArray = stringName.ToCharArray();
//Assume only one char if it is a null char
if(charArray[0] == 0)
{
// only a null char
}
I am flying by the seat of my pants here, so you may have to alter the code
to get past debug. The theory is sound, however.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
**********************************************************************
Think Outside the Box!
**********************************************************************