public string OpenTag() { switch (type) { case Type.Wait: return("<break time=\"" + duration.ToString("0.00", CultureInfo.InvariantCulture) + "S\"/>"); case Type.Emotion: return(emotion.OpenTag()); default: return(""); } }