R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does `string.IsNullOrEmpty()` check for?

  • (A) Only null
  • (B) Only empty string
  • (C) Null or empty
  • (D) Null or whitespace

Explanation by: Ram Sharma
`string.IsNullOrEmpty()` checks if a string is either null or empty.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.