Cant base64 encode a string

i want encode utf8 to base 64 that.

Solved

that pre2 is var, and got : [IDLE] CompilationErrorException: (133,1): error CS1524: Se esperaba catch o finally.
can anyone said me why,thanks in advance.