T
Trapulo
If I execute this code, with realString as array of zeros, execution goes
always in "then" code:
If Not System.Text.ASCIIEncoding.ASCII.GetString(realString).Length = 0 Then
out.Append(System.Text.ASCIIEncoding.ASCII.GetString(realString))
End If
If I debug I have:
? System.Text.ASCIIEncoding.ASCII.GetString(realString).Length = 0
True
So I've two problems:
1 - the if is not evaualted as required
2 - if the out.append (out is a stringbuilder) is executed, no other strings
can be added to the stringbuilder. It stops responding.
Is this a bug? What can I do?
thanks
always in "then" code:
If Not System.Text.ASCIIEncoding.ASCII.GetString(realString).Length = 0 Then
out.Append(System.Text.ASCIIEncoding.ASCII.GetString(realString))
End If
If I debug I have:
? System.Text.ASCIIEncoding.ASCII.GetString(realString).Length = 0
True
So I've two problems:
1 - the if is not evaualted as required
2 - if the out.append (out is a stringbuilder) is executed, no other strings
can be added to the stringbuilder. It stops responding.
Is this a bug? What can I do?
thanks