I have string with empty space("________")
string MyNote= Convert.ToString(Session["MyNote"]);
if(MyNote!=null || MyNote != "")
{
}
MyNote != "" does not work if string has more space so
How can I check my string is "" or null by using linq in C#?
if (MyNote != null && MyNote.Any(c => !char.IsWhitespace(c))) .... But I doubt this is about LINQ.