Are you looking for something like this?
public class Test{ private string strName; public Test(string strName) { this.strName = strName; } }
I think itβs useful to use this identifier in every part of the class ... Attributes, Methods, Properties, as it becomes more attractive for what you modify or use, in complex classes or large, it helps you better know what you are using but, as I said, from my point of view.
source share