A

Admin • 828.03K Points
Coach

Q. What will be the output?

Code:
bool result = string.IsNullOrEmpty("");
Console.WriteLine(result);
  • (A) True
  • (B) False
  • (C) null
  • (D) Error

Explanation by: Admin
Empty string returns true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.