I am unsure on how to convert this myself as do not use strings often.
var level : String;
Javascript ^^
I tried
public String level;
C# ^^
But no luck.. What am I missing I took a quick glance at the reference but didn't find something similar in C#.