I'm new to C# and trying to get a handle on terminology.
In the below class, I declare variables that are intended to be visible to
all members of the class. Are these:
"Module-level variables"
"Class-level variables"
"Member-level variables"
Or should they be called "Member-level declarations"?
namespace MyNamespace
{
public class MenuData
{
#region Module Level variables (?)
private string strMenuItem;
private string strMenuType;
private decimal decUnitPrice;
#endregion
public MenuData(string MenuItem, string MenuType,
decimal UnitPrice, string PhotoFile,int MenuID)
{
strMenuItem = MenuItem;
strMenuType = MenuType;
decUnitPrice = UnitPrice;
...
[code omitted]
}
}