public string this[string columnName] { get { var result = string.Empty; switch (columnName) { case "Name": if (this.Name == String.Empty) { result = "Name cannot be empty"; } break; } return result; } }