here is my javascript:
private static var escapee= {
"\"": "\"",
"\\": "\\",
"/": "/",
"b": "b",
"f": "\f",
"n": "
",
“r”: “\r”,
“t”: " "
};
if (ch in escapee) {
string += escapee[ch];
}
what’s the best implement use c# ?
TIA!