Field
A variable declared in a class and stored with an object or the class itself.
What is Field in C#?
Field — A variable declared in a class and stored with an object or the class itself.
class Book
{
string title;
Book(string title)
{
this.title = title;
}
}
Level: Apprentice · More C# terms at this level
Updated