I modified a workflow in TFS template, in the head of this workflow I initialized an array of string named NextChainBuildDefinition. After a few steps, I tried to check if this array is null or not.
I did this way:
String.IsNullOrEmpty(CStr(NextChainBuildDefinition.Count))
After this I see error: Exception Message: Value cannot be null. Therefore NextChainBuildDefinition is null, and in that step it throws an exception.
How do I check if this string array is null?