C# 클래스 Project.Phonebook

파일 보기 프로젝트 열기: dibagaran/cs-2015-7-alpha

공개 메소드들

메소드 설명
Add ( Contact contact ) : void
AddContact ( string name, int phone ) : int
List ( ) : string
Search ( string name ) : int
removeContact ( string name ) : bool

비공개 메소드들

메소드 설명
IndexOf ( string name ) : int

메소드 상세

Add() 공개 정적인 메소드

public static Add ( Contact contact ) : void
contact Contact
리턴 void

AddContact() 공개 메소드

public AddContact ( string name, int phone ) : int
name string
phone int
리턴 int

List() 공개 메소드

public List ( ) : string
리턴 string

Search() 공개 메소드

public Search ( string name ) : int
name string
리턴 int

removeContact() 공개 메소드

public removeContact ( string name ) : bool
name string
리턴 bool