I want to assign some default value to a property or want to replace some character like given below. Is it a correct syntax or should i do this by creating a variable.
public string Login_Name
{
get
{ return this.Login_Name; }
set { this.Login_Name = value.Replace("'", "''"); }
}