I want to ignore a line which is either empty , null or just have space or spaces (white spaces).the keyword here is multiple space. I have tried below codes without success
if (!string.IsNullOrEmpty(line1))
or
if (line2 != "")
and I dont want to trim the file because I want to capture space space abc space space but not space space space space etc thanks