I saw some get set method to set values. Can anyone tell me the purpose of this?
public string HTTP_USER_NAME { get { return UserNam
Check these links,.. they gives clear explanation.
http://www.dotnetperls.com/property
http://code.anjanesh.net/2008/02/property-getters-setters.html
if UserName and UserPwd are class variables, better to use like this
_userName _userPwd