using System;
/*
A string over the characters "{,},(,),[,]" is said to be well-formed if the different types
of brackets match in the correct order.
For example, "([]){()}" is well-formed, as is "[()[]|()()|]". However, "{)" and
"[()[]{()()" are not well-formed,
Write a program that tests if a string made up of the characters '()', '[]', and'{}'
is well-formed
*/
public class Program
{
public static void Main()
String testA = "([]){()}";
String testB = "[()[]|()()|]";
String testC = "[()[]{()()";
IsWellFormat(testA);
IsWellFormat(testB);
IsWellFormat(testC);
}
private static bool IsWellFormat(String msg)
return false;