public static bondtype getBondTypeFromString(String b) { bondtype Result = (bondtype)Enum.Parse(typeof(bondtype), b, true); return(Result); }
public static String getStringFromEnum(bondtype b) { return(b.ToString()); }