C# Class IssuesWithNonGenericCollections.PersonCollection

Inheritance: IEnumerable
ファイルを表示 Open project: Apress/pro-c-sharp-9-w-.net-core-5 Class Usage Examples

Public Methods

Method Description
AddPerson ( IssuesWithNonGenericCollections.Person p ) : void
ClearPeople ( ) : void
GetPerson ( int pos ) : IssuesWithNonGenericCollections.Person

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Method Details

AddPerson() public method

public AddPerson ( IssuesWithNonGenericCollections.Person p ) : void
p IssuesWithNonGenericCollections.Person
return void

ClearPeople() public method

public ClearPeople ( ) : void
return void

GetPerson() public method

public GetPerson ( int pos ) : IssuesWithNonGenericCollections.Person
pos int
return IssuesWithNonGenericCollections.Person