is empty string c# code example
Example 1: c# check if string is empty
if (string.IsNullOrEmpty(myString)) {
//
}
Example 2: c# empty string[]
string[] arr = new string[] {};
if (string.IsNullOrEmpty(myString)) {
//
}
string[] arr = new string[] {};