Class Month
Class representing a calendar month
public class Month
- Inheritance
-
Month
- Inherited Members
Constructors
Month(int, string)
Constructor
public Month(int number, string name)
Parameters
Fields
name
Name of the month
public string name
Field Value
number
Number of the month (1 to 12)
public int number
Field Value
Methods
ToString()
Returns the name of the month
public override string ToString()