What is the difference between class and object?
A class specifies the behavior of its instances.
A class is also an instance of a class (the class for a class is called a "metaclass").
A class is an abstraction. Find a class by finding generic properties that apply to a group of objects.
So a class is a template that defines the methods (behavior) and variables (state) to be included in a particular type of object.
In more descriptive terms the class can be the avengers and its objects would be "Captain America", "Thor", etc.
Here is an example of what it would look like:
class Car { string color = "red"; static void Main(string[] args) { Car myObj = new Car(); Console.WriteLine(myObj.color); } } Output: red