Code Quiz: That Empty Feeling
Which would you use to test if a string is blank? And why?
1. x.Equals(string.Empty)Next → ← Previous
2. x = ""
3. x.Length = 0
4. x = string.Empty
I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.