Pregunta de entrevista de Crossover for Work

Please write a javascript bracket validator in C#.