Declaring char or string type variables returns errors

Hi, I am trying to declare some variables of type char and string, but I get some errors, what am I doing wrong?

private var mode : char = 'N';

BCE0044: unexpected char: '''.

private var mystring : string = "abc"; 

BCE0018: The name 'string' does not denote a valid type ('not found'). Did you mean 'System.Runtime.CompilerServices.StrongBox'?

The funny thing about the char data type, that upon declaration it even "lights up" in bold in the code editor, so it should be right, right?

In JavaScript, single and double quotes both make a string, and string is not a System.String, as it is in C#. This does allow you to use string as a variable name, as it's not a keyword.

private var mode : char = "N"[0];

private var string : String = "abc";

just change string to String its java!