C# Class IssuesWithNonGenericCollections.PersonCollection

Inheritance: IEnumerable
Afficher le fichier Open project: Apress/pro-c-sharp-9-w-.net-core-5 Class Usage Examples

Méthodes publiques

Méthode Description
AddPerson ( IssuesWithNonGenericCollections.Person p ) : void
ClearPeople ( ) : void
GetPerson ( int pos ) : IssuesWithNonGenericCollections.Person

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Method Details

AddPerson() public méthode

public AddPerson ( IssuesWithNonGenericCollections.Person p ) : void
p IssuesWithNonGenericCollections.Person
Résultat void

ClearPeople() public méthode

public ClearPeople ( ) : void
Résultat void

GetPerson() public méthode

public GetPerson ( int pos ) : IssuesWithNonGenericCollections.Person
pos int
Résultat IssuesWithNonGenericCollections.Person