© { JSL }
80
Text Box: struct Declaration
struct Declaration
Folded Corner:
·a user- defined value- type
struct Pair
{
    public int X, Y;
};
optional semi-colon
by convention public
names start with an
uppercase letter
(PascalCase)
struct Pair
{
    private int x, y;
}
...and private names
start with a
lowercase letter
(camelCase)
Folded Corner:
struct Pair
{
    int x, y;
}
default access
is private