C# tip: String.IsNullOrEmpty or String.IsNullOrWhiteSpace?
//So we have: String.IsNullOrEmpty(""); //True String.IsNullOrEmpty(null); //True String.IsNullOrEmpty(" "); //False String.IsNullOrEmpty("\n"); //False String.IsNullOrEmpty("\t"); //False String.IsNullOrEmpty("hello"); //False //but also String.IsNullOrWhiteSpace("");//True String.IsNullOrWhiteSpace(null);//True String.IsNullOrWhiteSpace(" ");//True String.IsNullOrWhiteSpace("\n");//True String.IsNullOrWhiteSpace("\t");//True String.IsNullOrWhiteSpace("hello");//False