Re: Member variables style questions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



i still use m_ prefix to all member variables that is used on property
declarations.

private readonly string m_fileName = string.Empty;
public string FileName{
  get{ return m_fileName; }
}


this way i have an idea that the variable is used by the property and
nothing else. I just put underscrore (_) for private fields.

.