Programming terms - field, member, properties (C#)

后端 未结 3 1855
[愿得一人]
[愿得一人] 2021-01-31 17:43

I was trying to find meaning of this terms but especially due to language barrier I was not able to understand what they are used for. I assume that \"field\" is variable (objec

3条回答
  •  余生分开走
    2021-01-31 18:25

    The terminology in this area is hopelessly jumbled and varies wildly from language to language, and model to model. Do you have a specific language or platform in mind?

    To a first approximation:

    1. SQL discussions often use field and column interchangeably. Field is also the standard terminology for the data members of Java and C# classes.
    2. Member is most commonly used in C++ to refer to member functions, member variables, and so on, for the various different members of a struct/class definition.

提交回复
热议问题