Class fields in C#
Forums:
class Game {
// public field (Generally not recommended.)
public string name;
public int year;
// private field
private string developer;
}
- Log in to post comments
class Game {
// public field (Generally not recommended.)
public string name;
public int year;
// private field
private string developer;
}