How string variables are declared and initialized?
Answers
Answered by
1
Before you initialize a string variable (setting it equal to the contents of a string), the variable is equal to null. Figure 4.10 shows code that tests whether the value of the variable is null. Figure 4.10 The .NET Framework makes a distinction between uninitialized strings and empty strings.Jun 6, 2003
Similar questions