RabbitMQ

asp.net - simple and complex properties

Primeiro leia o trecho de código abaixo:
public string NavigateUrl
{
  get
  {
    string text = (string) ViewState["NavigateUrl"];
    if (text != null)
       return text;
    else
       return string.Empty;
  }
  set
  {
    ViewState["NavigateUrl"] = value;
  }
}

Simple Properties são aquelas que armazenam valores escalares, tais como; strings, integers, Booleans, etc. 
Complex Propertiespropriedade fonte de um Label, etc

Comments