G
Guest
The E==D fails for some reason. Can enyone tell me why
String* A = S"ABC"
String* C = S"ABC"
Byte ByteGet[] = Encoding::UTF8->GetBytes(A)
Byte ByteGetH[] = Encoding::UTF8->GetBytes(C)
String* D = Encoding::UTF8->GetString(ByteGet)
String* E = Encoding::UTF8->GetString(ByteGetH)
if(E==D
Console::WriteLine("E==D")
String* A = S"ABC"
String* C = S"ABC"
Byte ByteGet[] = Encoding::UTF8->GetBytes(A)
Byte ByteGetH[] = Encoding::UTF8->GetBytes(C)
String* D = Encoding::UTF8->GetString(ByteGet)
String* E = Encoding::UTF8->GetString(ByteGetH)
if(E==D
Console::WriteLine("E==D")