This ain't java, use Text == "" or usually the safer version: String.IsNullOrEmpty(Text)